Structures
The following structures are available globally.
-
A pandas-inspired dataframe. Dataframe is a tabular data representation. This particular Dataframe implementation is most useful to implement data feeder pipeline. You need some transformations so some text or images can be transformed into tensors for a model to consume. Dataframe can be used to implement that pipeline.
See moreDeclaration
Swift
public struct DataFrame
-
Declaration
Swift
public struct DataSeriesIterator<S> : IteratorProtocol where S : DataSeries
-
Hint are parameters to these operations that changes shape from input to output. It given proper stride / padding parameters for these operations.
See moreDeclaration
Swift
public struct Hint
-
Declaration
Swift
@resultBuilder public struct Sequential
-
Basic tensor type.
See moreDeclaration
Swift
public struct Tensor<Element> : AnyTensor where Element : TensorNumeric
extension Tensor: ExpressibleByArrayLiteral
extension Tensor: CustomStringConvertible
extension Tensor: PythonConvertible where Element: NumpyScalarCompatible