Home
last modified time | relevance | path

Searched refs:can_encode (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder.py59 return [(c.can_encode, c.do_encode) for c in cls._codecs]
87 def can_encode(self, nested_structure): member in StructureCoder
120 def can_encode(self, pyobj): member in _ListCodec
163 def can_encode(self, pyobj): member in _TupleCodec
186 def can_encode(self, pyobj): member in _DictCodec
213 def can_encode(self, pyobj): member in _NamedTupleCodec
244 def can_encode(self, pyobj): member in _Float64Codec
267 def can_encode(self, pyobj): member in _Int64Codec
294 def can_encode(self, pyobj): member in _StringCodec
317 def can_encode(self, pyobj): member in _NoneCodec
[all …]
Dnested_structure_coder_test.py38 self.assertTrue(self._coder.can_encode(structure))
50 self.assertTrue(self._coder.can_encode(structure))
65 self.assertTrue(self._coder.can_encode(structure))
79 self.assertTrue(self._coder.can_encode(structure))
95 self.assertTrue(self._coder.can_encode(named_tuple))
115 self.assertTrue(self._coder.can_encode(structure))
126 self.assertTrue(self._coder.can_encode(structure))
136 self.assertTrue(self._coder.can_encode(structure))
149 self.assertTrue(self._coder.can_encode(structure))
160 self.assertTrue(self._coder.can_encode(structure))
[all …]
/external/fonttools/Lib/fontTools/varLib/
DvarStore.py351 def can_encode(self, chars): member in _Encoding
379 if new_encoding.can_encode(self.chars):
/external/vixl/src/aarch32/
Dmacro-assembler-aarch32.h560 bool can_encode = adr_info(cond, Best, rd, literal, &info); in Adr() local
561 VIXL_CHECK(can_encode); in Adr()
583 bool can_encode = ldr_info(cond, Best, rt, literal, &info); in Ldr() local
584 VIXL_CHECK(can_encode); in Ldr()
604 bool can_encode = ldrb_info(cond, rt, literal, &info); in Ldrb() local
605 VIXL_CHECK(can_encode); in Ldrb()
626 bool can_encode = ldrd_info(cond, rt, rt2, literal, &info); in Ldrd() local
627 VIXL_CHECK(can_encode); in Ldrd()
649 bool can_encode = ldrh_info(cond, rt, literal, &info); in Ldrh() local
650 VIXL_CHECK(can_encode); in Ldrh()
[all …]
/external/vixl/test/aarch32/
Dtest-assembler-aarch32.cc6465 can_encode = masm.INFO; \
6466 VIXL_CHECK(can_encode); \
6529 bool can_encode; in TEST_T32() local
6667 bool can_encode; in TEST_A32() local