final class ScioContextOps extends AnyVal
- Source
- ScioContextSyntax.scala
- Alphabetic
- By Inheritance
- ScioContextOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ScioContextOps(self: ScioContext)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def tfRecordExampleFile(path: String, compression: Compression = Compression.AUTO): SCollection[Example]
Get an SCollection of org.tensorflow.proto.example.Example from a TensorFlow TFRecord file encoded as serialized org.tensorflow.proto.example.Example protocol buffers.
- def tfRecordExampleFileWithSchema(path: String, schemaFilename: String, compression: Compression = Compression.AUTO): (SCollection[Example], DistCache[Schema])
Get an SCollection of org.tensorflow.proto.example.Example from a TensorFlow TFRecord file encoded as serialized org.tensorflow.proto.example.Example protocol buffers, along with the remotely stored org.tensorflow.metadata.v0.Schema object available in a DistCache.
- def tfRecordFile(path: String, compression: Compression = Compression.AUTO): SCollection[Array[Byte]]
Get an SCollection for a TensorFlow TFRecord file.
Get an SCollection for a TensorFlow TFRecord file. Note that TFRecord files are not splittable. 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.
- def tfRecordSequenceExampleFile(path: String, compression: Compression = Compression.AUTO): SCollection[SequenceExample]
Get an SCollection of org.tensorflow.proto.example.SequenceExample from a TensorFlow TFRecord file encoded as serialized org.tensorflow.proto.example.SequenceExample protocol buffers.
- def tfRecordSequenceExampleFileWithSchema(path: String, schemaFilename: String, compression: Compression = Compression.AUTO): (SCollection[SequenceExample], DistCache[Schema])
Get an SCollection of org.tensorflow.proto.example.Example from a TensorFlow TFRecord file encoded as serialized org.tensorflow.proto.example.Example protocol buffers, along with the remotely stored org.tensorflow.metadata.v0.Schema object available in a DistCache.
- def toString(): String
- Definition Classes
- Any