c

com.spotify.scio.tensorflow.syntax

TFRecordSCollectionOps

final class TFRecordSCollectionOps[T <: Array[Byte]] extends AnyVal

Source
SCollectionSyntax.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TFRecordSCollectionOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TFRecordSCollectionOps(self: SCollection[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  7. def saveAsTfRecordFile(path: String, suffix: String = TFRecordIO.WriteParam.DefaultSuffix, compression: Compression = TFRecordIO.WriteParam.DefaultCompression, numShards: Int = TFRecordIO.WriteParam.DefaultNumShards, shardNameTemplate: String = TFExampleIO.WriteParam.DefaultShardNameTemplate, tempDirectory: String = TFExampleIO.WriteParam.DefaultTempDirectory, filenamePolicySupplier: FilenamePolicySupplier = TFExampleIO.WriteParam.DefaultFilenamePolicySupplier, prefix: String = TFExampleIO.WriteParam.DefaultPrefix)(implicit ev: <:<[T, Array[Byte]]): ClosedTap[Array[Byte]]

    Save this SCollection as a TensorFlow TFRecord file.

    Save this SCollection as a TensorFlow TFRecord file. Note that elements must be of type Array[Byte]. The recommended record encoding is org.tensorflow.proto.example.Example protocol buffers (which contain org.tensorflow.proto.example.Features as a field) serialized as bytes.

  8. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

output

Ungrouped