Protocols
The following protocols are available globally.
-
Declaration
Swift
public protocol AnyModel -
Declaration
Swift
public protocol DataSeries : Sequence -
Declaration
Swift
public protocol Env -
This protocol defines a generic constructs such that we can use DynamicGraph.AnyTensorGroup to represent either a collection of tensors from multiple GPUs or one tensor. It has a typed version DynamicGraph.TensorGroup to enforce type constraint.
See moreDeclaration
Swift
public protocol DynamicGraph_AnyTensorGroup : DynamicGraph_Any -
Empty protocol for other places to recognize AnyTensor and AnyGroup with dynamic dispatch.
Declaration
Swift
public protocol DynamicGraph_AnyParameters -
Protocol for other places to recognize AnyTensor and AnyGroup with static dispatch.
See moreDeclaration
Swift
public protocol DynamicGraph_Any : DynamicGraph_AnyParameters -
Protocol for group of tensors.
Declaration
Swift
public protocol DynamicGraph_AnyGroup : DynamicGraph_Any -
Declaration
Swift
public protocol HTTPRenderProvider -
A generic loss function protocol.
See moreDeclaration
Swift
public protocol Loss -
Declaration
Swift
public protocol ModelIOConvertible -
Declaration
Swift
public protocol MuJoCoEnv -
An optimizer encapsulated the logic to update parameters in order to minimize the loss.
See moreDeclaration
Swift
public protocol Optimizer -
Declaration
Swift
public protocol Renderable -
Represent a type-checked parameters that encapsulate both tensor and group of tensors.
See moreDeclaration
Swift
public protocol DynamicGraph_TensorGroup : DynamicGraph_AnyTensorGroup -
Declaration
Swift
public protocol TensorNumeric : Numeric -
A type-erased tensor.
See moreDeclaration
Swift
public protocol AnyTensor
Protocols Reference