Home
last modified time | relevance | path

Searched refs:_cast (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/kernel_tests/
Dcast_op_test.py57 def _cast(self, x, dtype, use_gpu=False): member in CastOpTest
65 tf_ans = self._cast(x, dtype, use_gpu)
128 self._cast(
170 self.assertAllEqual(np.isnan(self._cast(np.nan, np.float32, False)), True)
171 self.assertAllEqual(np.isnan(self._cast(np.nan, np.float64, False)), True)
184 self.assertAllEqual(np.isnan(self._cast(np.nan, np.float32, True)), True)
185 self.assertAllEqual(np.isnan(self._cast(np.nan, np.float64, True)), True)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_math_ops.py547 def _cast(input_tensor, dtype): function
555 return _cast(
556 reduce_prod(_cast(input_tensor, dtypes.int32), axis, keepdims),
563 return _cast(
564 reduce_sum(_cast(input_tensor, dtypes.int32), axis, keepdims),
/external/python/cpython3/Lib/ctypes/
D__init__.py488 _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr) variable
490 return _cast(obj, obj, typ)
/external/python/cpython2/Lib/ctypes/
D__init__.py501 _cast = PYFUNCTYPE(py_object, c_void_p, py_object, py_object)(_cast_addr) variable
503 return _cast(obj, obj, typ)
/external/python/google-api-python-client/googleapiclient/
Ddiscovery.py387 def _cast(value, schema_type): function
773 cast_value = [_cast(x, to_type) for x in value]
775 cast_value = _cast(value, to_type)
/external/python/google-api-python-client/docs/epy/
Dapi-objects.txt21 googleapiclient.discovery._cast googleapiclient.discovery-module.html#_cast