Show / Hide Table of Contents

Class Permute

Permutes the dimensions of the input according to a given pattern. Useful for e.g.connecting RNNs and convnets together.

Inheritance
System.Object
Keras
Base
BaseLayer
Permute
Implements
System.IDisposable
Inherited Members
BaseLayer.Set(BaseLayer[])
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Layers
Assembly: Keras.dll
Syntax
public class Permute : BaseLayer, IDisposable

Constructors

| Improve this Doc View Source

Permute(Int32, Shape)

Initializes a new instance of the Permute class.

Declaration
public Permute(int dims, Shape input_shape = null)
Parameters
Type Name Description
System.Int32 dims

Tuple of integers. Permutation pattern, does not include the samples dimension. Indexing starts at 1. For instance, (2, 1) permutes the first and second dimension of the input.

Shape input_shape

Arbitrary. Use the keyword argument input_shape (tuple of integers, does not include the samples axis) when using this layer as the first layer in a model.

Implements

System.IDisposable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX