c
com.spotify.scio.tensorflow.syntax
SeqExampleSCollectionOps
Companion object SeqExampleSCollectionOps
final class SeqExampleSCollectionOps[T <: Example] extends AnyVal
- Source
- SCollectionSyntax.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SeqExampleSCollectionOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SeqExampleSCollectionOps(self: SCollection[Seq[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 mergeExamples(e: Seq[Example]): Example
- def saveAsTfRecordFile(path: String, suffix: String = TFExampleIO.WriteParam.DefaultSuffix, compression: Compression = TFExampleIO.WriteParam.DefaultCompression, numShards: Int = TFExampleIO.WriteParam.DefaultNumShards, shardNameTemplate: String = TFExampleIO.WriteParam.DefaultShardNameTemplate, tempDirectory: String = TFExampleIO.WriteParam.DefaultTempDirectory, filenamePolicySupplier: FilenamePolicySupplier = TFExampleIO.WriteParam.DefaultFilenamePolicySupplier): ClosedTap[Example]
Merge each Seq of Example and save them as TensorFlow TFRecord files.
Merge each Seq of Example and save them as TensorFlow TFRecord files. Caveat: if some feature names are repeated in different feature specs, they will be collapsed.
- def toString(): String
- Definition Classes
- Any