Object

org.platanios.tensorflow.api.ops

Text

Related Doc: package ops

Permalink

object Text extends Text

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

Type Members

  1. case class TextOps(output: Output) extends Product with Serializable

    Permalink

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 decodeBase64(input: Output, name: String = "DecodeBase64"): Output

    Permalink

    $OpDocTextStringDecodeBase64

    $OpDocTextStringDecodeBase64

    input

    Input STRING tensor.

    name

    Name for the created op.

    returns

    Created op output.

    Definition Classes
    Text
  7. def encodeBase64(input: Output, pad: Boolean = false, name: String = "EncodeBase64"): Output

    Permalink

    $OpDocTextStringEncodeBase64

    $OpDocTextStringEncodeBase64

    input

    Input STRING tensor.

    pad

    Boolean value indicating whether or not padding is applied at the string ends.

    name

    Name for the created op.

    returns

    Created op output.

    Definition Classes
    Text
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def regexReplace(input: Output, pattern: Output, rewrite: Output, replaceGlobal: Boolean = true, name: String = "RegexReplace"): Output

    Permalink

    $OpDocTextRegexReplace

    $OpDocTextRegexReplace

    input

    Tensor containing the text to be processed.

    pattern

    Tensor containing the regular expression to match the input.

    rewrite

    Tensor containing the rewrite to be applied to the matched expression.

    replaceGlobal

    If true, the replacement is global, otherwise the replacement is done only on the first match.

    name

    Name for the created op.

    returns

    Created op output.

    Definition Classes
    Text
  18. def stringJoin(inputs: Seq[Output], separator: String = "", name: String = "StringJoin"): Output

    Permalink

    $OpDocTextStringJoin

    $OpDocTextStringJoin

    inputs

    Sequence of string tensors that will be joined. The tensors must all have the same shape, or be scalars. Scalars may be mixed in; these will be broadcast to the shape of the non-scalar inputs.

    separator

    Separator string.

    name

    Name for the created op.

    returns

    Created op output.

    Definition Classes
    Text
  19. def stringSplit(input: Output, delimiter: Output = " ", skipEmpty: Boolean = true, name: String = "StringSplit"): SparseOutput

    Permalink

    $OpDocTextStringSplit

    $OpDocTextStringSplit

    input

    Input STRING tensor.

    delimiter

    Delimiter used for splitting. If delimiter is an empty string, each element of the source is split into individual strings, each containing one byte. (This includes splitting multi-byte sequences of UTF-8 characters). If delimiter contains multiple bytes, it is treated as a set of delimiters with each considered a potential split point.

    skipEmpty

    Boolean value indicating whether or not to skip empty tokens.

    name

    Name for the created op.

    returns

    Created op output.

    Definition Classes
    Text
  20. def stringToHashBucketFast(input: Output, numBuckets: Int, name: String = "StringToHashBucketFast"): Output

    Permalink

    $OpDocTextStringToHashBucketFast

    $OpDocTextStringToHashBucketFast

    input

    STRING tensor containing the strings to assign to each bucket.

    numBuckets

    Number of buckets.

    name

    Name for the created op.

    returns

    Created op output, which has the same shape as input.

    Definition Classes
    Text
  21. def stringToHashBucketStrong(input: Output, numBuckets: Int, key1: Long, key2: Long, name: String = "StringToHashBucketStrong"): Output

    Permalink

    $OpDocTextStringToHashBucketStrong

    $OpDocTextStringToHashBucketStrong

    input

    STRING tensor containing the strings to assign to each bucket.

    numBuckets

    Number of buckets.

    key1

    First part of the key for the keyed hash function.

    key2

    Second part of the key for the keyed hash function.

    name

    Name for the created op.

    returns

    Created op output, which has the same shape as input.

    Definition Classes
    Text
  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Deprecated Value Members

  1. def stringToHashBucket(input: Output, numBuckets: Int, name: String = "StringToHashBucket"): Output

    Permalink

    $OpDocTextStringToHashBucket

    $OpDocTextStringToHashBucket

    input

    STRING tensor containing the strings to assign to each bucket.

    numBuckets

    Number of buckets.

    name

    Name for the created op.

    returns

    Created op output, which has the same shape as input.

    Definition Classes
    Text
    Annotations
    @deprecated
    Deprecated

    (Since version 0.1.0) It is recommended to use stringToHashBucketFast or stringToHashBucketStrong.

Inherited from Text

Inherited from AnyRef

Inherited from Any

TextOps

Ungrouped