op { | |
name: "VariableShape" | |
input_arg { | |
name: "input" | |
type: DT_RESOURCE | |
} | |
output_arg { | |
name: "output" | |
type_attr: "out_type" | |
} | |
attr { | |
name: "out_type" | |
type: "type" | |
default_value { | |
type: DT_INT32 | |
} | |
allowed_values { | |
list { | |
type: DT_INT32 | |
type: DT_INT64 | |
} | |
} | |
} | |
is_stateful: true | |
} |