op { | |
name: "Assert" | |
input_arg { | |
name: "condition" | |
type: DT_BOOL | |
} | |
input_arg { | |
name: "data" | |
type_list_attr: "T" | |
} | |
attr { | |
name: "T" | |
type: "list(type)" | |
has_minimum: true | |
minimum: 1 | |
} | |
attr { | |
name: "summarize" | |
type: "int" | |
default_value { | |
i: 3 | |
} | |
} | |
is_stateful: true | |
} |