DynamicGraph_Any
public protocol DynamicGraph_Any : DynamicGraph_AnyParameters
Protocol for other places to recognize AnyTensor and AnyGroup with static dispatch.
-
Declaration
Swift
var graph: DynamicGraph { get }
-
Declaration
Swift
var untyped: [DynamicGraph.AnyTensor] { get }
-
Declaration
Swift
var kind: DeviceKind { get }
-
Declaration
Swift
var shape: TensorShape { get }
-
Declaration
Swift
var format: TensorFormat { get }
-
Declaration
Swift
var strides: TensorShape { get }
-
Declaration
Swift
var isConstant: Bool { get }
-
Declaration
Swift
var isContiguous: Bool { get }
-
Declaration
Swift
var requiresGrad: Bool { get set }