Searched refs:decode_fn (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/python/saved_model/ |
D | nested_structure_coder.py | 133 def do_decode(self, value, decode_fn): argument 134 return [decode_fn(element) for element in value.list_value.values] 176 def do_decode(self, value, decode_fn): argument 177 return tuple(decode_fn(element) for element in value.tuple_value.values) 199 def do_decode(self, value, decode_fn): argument 200 return {key: decode_fn(val) for key, val in value.dict_value.fields.items()} 230 def do_decode(self, value, decode_fn): argument 232 items = [(pair.key, decode_fn(pair.value)) for pair in key_value_pairs] 256 def do_decode(self, value, decode_fn): argument 257 del decode_fn [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | variant_op_registry.cc | 48 const string& type_name, const VariantDecodeFn& decode_fn) { in RegisterDecodeFn() argument 55 GetPersistentStringPiece(type_name), decode_fn)); in RegisterDecodeFn() 59 UnaryVariantOpRegistry::VariantDecodeFn* decode_fn = in DecodeUnaryVariant() local 61 if (decode_fn == nullptr) { in DecodeUnaryVariant() 65 bool decoded = (*decode_fn)(variant); in DecodeUnaryVariant()
|
D | variant_op_registry_test.cc | 111 auto* decode_fn = in TEST() local 113 EXPECT_NE(decode_fn, nullptr); in TEST() 122 EXPECT_TRUE((*decode_fn)(&encoded)); in TEST()
|
D | variant_op_registry.h | 97 const VariantDecodeFn& decode_fn);
|