aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/docs_src/api_guides/python/string_ops.md
blob: 24a3aad642d16eaef25f427ae0223b884ef884d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Strings

Note: Functions taking `Tensor` arguments can also take anything accepted by
`tf.convert_to_tensor`.

[TOC]

## Hashing

String hashing ops take a string input tensor and map each element to an
integer.

*   `tf.string_to_hash_bucket_fast`
*   `tf.string_to_hash_bucket_strong`
*   `tf.string_to_hash_bucket`

## Joining

String joining ops concatenate elements of input string tensors to produce a new
string tensor.

*   `tf.reduce_join`
*   `tf.string_join`

## Splitting

*   `tf.string_split`
*   `tf.substr`

## Conversion

*   `tf.as_string`
*   `tf.string_to_number`

*   `tf.decode_raw`
*   `tf.decode_csv`

*   `tf.encode_base64`
*   `tf.decode_base64`