Home
last modified time | relevance | path

Searched refs:typespec (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/ops/structured/
Dstructured_tensor.py465 def from_pyval(cls, pyval, typespec=None): argument
486 return cls._from_pydict(pyval, typespec)
491 return cls._from_pylist_of_dict(pyval, keys, rank, typespec)
493 return cls._from_pylist_of_value(pyval, typespec)
495 return cls._from_pyscalar(pyval, typespec)
498 def _from_pydict(cls, pyval, typespec): argument
500 if typespec is None:
503 spec_shape = typespec._shape # pylint: disable=protected-access
504 field_specs = typespec._field_specs # pylint: disable=protected-access
505 if not (isinstance(typespec, StructuredTensorSpec) and
[all …]
/external/python/cpython3/Modules/_decimal/tests/
Dformathelper.py238 def rand_format(fill, typespec='EeGgFfn%'): argument
259 if 4 in active: c = typespec.replace('n', '')
260 else: c = typespec
/external/libchrome/third_party/jinja2/
Dsandbox.py229 for typespec, unsafe in _mutable_spec:
230 if isinstance(obj, typespec):
/external/clang/include/clang/Basic/
Darm_neon.td184 // A typespec is a sequence of uppercase characters (modifiers) followed by one
185 // lowercase character. A typespec encodes a particular "base type" of the
188 // An example typespec is "Qs" - quad-size short - uint16x8_t. The available
189 // typespec codes are given below.
192 // is instantiated for every typespec in the sequence. For example "sdQsQd".