DynamicGraph_Any

public protocol DynamicGraph_Any : DynamicGraph_AnyParameters

Protocol for other places to recognize AnyTensor and AnyGroup with static dispatch.

  • Declaration

    Swift

    var dimensions: [Int] { get }
  • Declaration

    Swift

    var format: TensorFormat { get }
  • Declaration

    Swift

    var increments: [Int] { get }
  • Declaration

    Swift

    var isConstant: Bool { get }
  • Declaration

    Swift

    var requiresGrad: Bool { get set }