LostTech.TensorFlow : API Documentation

Type TextLineDataset

Namespace tensorflow.data

Parent DatasetV1Adapter

Interfaces ITextLineDataset

Public instance methods

object make_initializable_iterator_dyn(object shared_name)

Creates an `Iterator` for enumerating the elements of this dataset. (deprecated)

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use `for... in dataset:` to iterate over a dataset. If using tf.estimator, return the `Dataset` object directly from your input function. As a last resort, you can use `tf.compat.v1.data.make_initializable_iterator(dataset)`.

Note: The returned iterator will be in an uninitialized state, and you must run the `iterator.initializer` operation before using it:
Parameters
object shared_name
(Optional.) If non-empty, the returned iterator will be shared under the given name across multiple sessions that share the same devices (e.g. when using a remote server).
Returns
object
An `Iterator` over the elements of this dataset.
Show Example
dataset =...
            iterator = dataset.make_initializable_iterator()
            #...
            sess.run(iterator.initializer) 

Options options()

object options_dyn()

object with_options(Options options)

Returns a new tf.data.Dataset with the given options set.

The options are "global" in the sense they apply to the entire dataset. If options are set multiple times, they are merged as long as different options do not use different non-default values.
Parameters
Options options
A tf.data.Options that identifies the options the use.
Returns
object

object with_options_dyn(object options)

Returns a new tf.data.Dataset with the given options set.

The options are "global" in the sense they apply to the entire dataset. If options are set multiple times, they are merged as long as different options do not use different non-default values.
Parameters
object options
A tf.data.Options that identifies the options the use.
Returns
object

Public properties

object element_spec get;

object element_spec_dyn get;

object output_classes get;

object output_classes_dyn get;

object output_shapes get;

object output_shapes_dyn get;

object output_types get;

object output_types_dyn get;

object PythonObject get;