aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/api_def/base_api/api_def_DecodeCSV.pbtxt
blob: 440800704e6111ce1b77c3790f889c461b9f1804 (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
40
41
42
43
44
45
46
47
48
49
50
op {
  graph_op_name: "DecodeCSV"
  in_arg {
    name: "records"
    description: <<END
Each string is a record/row in the csv and all records should have
the same format.
END
  }
  in_arg {
    name: "record_defaults"
    description: <<END
One tensor per column of the input record, with either a
scalar default value for that column or an empty vector if the column is
required.
END
  }
  out_arg {
    name: "output"
    description: <<END
Each tensor will have the same shape as records.
END
  }
  attr {
    name: "field_delim"
    description: <<END
char delimiter to separate fields in a record.
END
  }
  attr {
    name: "use_quote_delim"
    description: <<END
If false, treats double quotation marks as regular
characters inside of the string fields (ignoring RFC 4180, Section 2,
Bullet 5).
END
  }
  attr {
    name: "na_value"
    description: <<END
Additional string to recognize as NA/NaN.
END
  }
  summary: "Convert CSV records to tensors. Each column maps to one tensor."
  description: <<END
RFC 4180 format is expected for the CSV records.
(https://tools.ietf.org/html/rfc4180)
Note that we allow leading and trailing spaces with int or float field.
END
}