Trait

org.platanios.tensorflow.api.ops

Parsing

Related Doc: package ops

Permalink

trait Parsing extends AnyRef

Contains functions for constructing ops related to parsing data.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Parsing
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def decodeCSV(records: Output, recordDefaults: Seq[Output], dataTypes: Seq[types.DataType], delimiter: String = ",", useQuoteDelimiters: Boolean = true, name: String = "DecodeCSV"): Seq[Output]

    Permalink

    $OpDocParsingDecodeCSV

    $OpDocParsingDecodeCSV

    records

    STRING tensor where each string is a record/row in the csv and all records should have the same format.

    recordDefaults

    One tensor per column of the input record, with either a scalar default value for that column or empty if the column is required.

    dataTypes

    Output tensor data types.

    delimiter

    Delimiter used to separate fields in a record.

    useQuoteDelimiters

    If false, the op treats double quotation marks as regular characters inside the string fields (ignoring RFC 4180, Section 2, Bullet 5).

    name

    Name for the created op.

    returns

    Created op outputs.

    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException If records is not a STRING tensor.

  7. def decodeJSONExample(jsonExamples: Output, name: String = "DecodeJSONExample"): Output

    Permalink

    $OpDocParsingDecodeJSONExample

    $OpDocParsingDecodeJSONExample

    jsonExamples

    STRING tensor where each string is a JSON object serialized according to the JSON mapping of the Example proto.

    name

    Name for the created op.

    returns

    Created op output.

    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException If jsonExamples is not a STRING tensor.

  8. def decodeRaw(bytes: Output, dataType: types.DataType, littleEndian: Boolean = true, name: String = "DecodeRaw"): Output

    Permalink

    $OpDocParsingDecodeRaw

    $OpDocParsingDecodeRaw

    bytes

    STRING tensor interpreted as raw bytes. All the elements must have the same length.

    dataType

    Output tensor data type.

    littleEndian

    Boolean value indicating whether the input bytes are stored in little-endian order. Ignored for dataType values that are stored in a single byte, like UINT8.

    name

    Name for the created op.

    returns

    Created op output.

    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException If bytes is not a STRING tensor.

  9. def decodeTensor(data: Output, dataType: types.DataType, name: String = "DecodeTensor"): Output

    Permalink

    $OpDocParsingDecodeTensor

    $OpDocParsingDecodeTensor

    data

    STRING tensor containing a serialized TensorProto proto.

    dataType

    Data type of the serialized tensor. The provided data type must match the data type of the serialized tensor and no implicit conversion will take place.

    name

    Name for the created op.

    returns

    Created op output.

    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException If data is not a STRING tensor.

  10. def encodeTensor(tensor: Output, name: String = "EncodeTensor"): Output

    Permalink

    $OpDocParsingEncodeTensor

    $OpDocParsingEncodeTensor

    tensor

    Tensor to encode.

    name

    Name for the created op.

    returns

    Created op output.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def stringToNumber(data: Output, dataType: types.DataType, name: String = "StringToNumber"): Output

    Permalink

    $OpDocParsingStringToNumber

    $OpDocParsingStringToNumber

    data

    STRING tensor containing string representations of numbers.

    dataType

    Output tensor data type.

    name

    Name for the created op.

    returns

    Created op output.

    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException If data is not a STRING tensor.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

ParsingOps

Ungrouped