Home
last modified time | relevance | path

Searched defs:np_dtype (Results 1 – 9 of 9) sorted by relevance

/external/pytorch/test/onnx/exporter/
Dtest_core.py39 def test_numpy_returns_correct_dtype(self, dtype: torch.dtype, np_dtype): argument
/external/pytorch/test/torch_np/
Dtest_dtype.py51 def test_convert_np_dtypes(self, name, np_dtype): argument
/external/tensorflow/tensorflow/python/kernel_tests/sparse_ops/
Dsparse_add_op_test.py49 def _randomTensor(self, size, np_dtype, sparse=True): argument
Dsparse_tensor_dense_matmul_op_test.py214 def _testLarge(self, np_dtype): argument
/external/tensorflow/tensorflow/python/kernel_tests/math_ops/
Dconfusion_matrix_test.py76 def _testConfMatrixOnTensors(self, tf_dtype, np_dtype): argument
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/
Darray_ops_test.py375 def _reverse1DimAuto(self, np_dtype): argument
386 def _reverse2DimAuto(self, np_dtype): argument
532 def _compareDiffType(self, n, np_dtype, use_gpu): argument
/external/pytorch/torch/_dynamo/variables/
Dmisc.py1474 dtype as np_dtype, unknown in ConstantLikeVariable
1480 np_dtype = type("invalid_type", (), {}) variable in ConstantLikeVariable
/external/pytorch/torch/testing/_internal/
Dcommon_utils.py1688 def numpy_to_torch_dtype(np_dtype): argument
1695 def has_corresponding_torch_dtype(np_dtype): argument
/external/pytorch/test/quantization/core/
Dtest_quantized_op.py43 np_dtype = { variable