Class Sequence
Base object for fitting to a sequence of data, such as a dataset. Sequence are a safer way to do multiprocessing. This structure guarantees that the network will only train once on each sample per epoch which is not the case with generators.
Implements
System.IDisposable
Inherited Members
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.Utils
Assembly: Keras.dll
Syntax
public class Sequence : Base, IDisposable
Constructors
| Improve this Doc View SourceSequence()
Initializes a new instance of the Sequence class.
Declaration
public Sequence()
Operators
| Improve this Doc View SourceImplicit(NDarray to Sequence)
Declaration
public static implicit operator Sequence(NDarray x)
Parameters
Type | Name | Description |
---|---|---|
Numpy.NDarray | x |
Returns
Type | Description |
---|---|
Sequence |
Implicit(PyObject to Sequence)
Performs an implicit conversion from Python.Runtime.PyObject to CustomObjectScope.
Declaration
public static implicit operator Sequence(PyObject py)
Parameters
Type | Name | Description |
---|---|---|
Python.Runtime.PyObject | py | The py. |
Returns
Type | Description |
---|---|
Sequence | The result of the conversion. |
Implements
System.IDisposable