final class TFRecordSCollectionOps[T <: Array[Byte]] extends AnyVal
- Source
- SCollectionSyntax.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TFRecordSCollectionOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new TFRecordSCollectionOps(self: SCollection[T])
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 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 isorg.tensorflow.proto.example.Example
protocol buffers (which containorg.tensorflow.proto.example.Features
as a field) serialized as bytes. - def toString(): String
- Definition Classes
- Any