op { | |
name: "Substr" | |
input_arg { | |
name: "input" | |
type: DT_STRING | |
} | |
input_arg { | |
name: "pos" | |
type_attr: "T" | |
} | |
input_arg { | |
name: "len" | |
type_attr: "T" | |
} | |
output_arg { | |
name: "output" | |
type: DT_STRING | |
} | |
attr { | |
name: "T" | |
type: "type" | |
allowed_values { | |
list { | |
type: DT_INT32 | |
type: DT_INT64 | |
} | |
} | |
} | |
} | |
op { | |
name: "Substr" | |
input_arg { | |
name: "input" | |
type: DT_STRING | |
} | |
input_arg { | |
name: "pos" | |
type_attr: "T" | |
} | |
input_arg { | |
name: "len" | |
type_attr: "T" | |
} | |
output_arg { | |
name: "output" | |
type: DT_STRING | |
} | |
attr { | |
name: "T" | |
type: "type" | |
allowed_values { | |
list { | |
type: DT_INT32 | |
type: DT_INT64 | |
} | |
} | |
} | |
attr { | |
name: "unit" | |
type: "string" | |
default_value { | |
s: "BYTE" | |
} | |
allowed_values { | |
list { | |
s: "BYTE" | |
s: "UTF8_CHAR" | |
} | |
} | |
} | |
} |