Home
last modified time | relevance | path

Searched refs:y_tensor (Results 1 – 7 of 7) sorted by relevance

/external/pytorch/aten/src/ATen/test/
Datest.cpp14 y_tensor = tensor({-10, 1, 0, -1, 10}); in SetUp()
22 Tensor x_tensor, y_tensor; member in atest
49 const Tensor& y_tensor, in unit_binary_ops_test() argument
54 func(out_tensor, x_tensor.to(dtype), y_tensor.to(dtype), args...); in unit_binary_ops_test()
79 const Tensor& y_tensor, in run_binary_ops_test() argument
85 unit_binary_ops_test(func, x_tensor, y_tensor, exp, kInt, args...); in run_binary_ops_test()
90 unit_binary_ops_test(func, x_tensor, y_tensor, exp, kFloat, args...); in run_binary_ops_test()
95 unit_binary_ops_test(func, x_tensor, y_tensor, exp, kBool, args...); in run_binary_ops_test()
190 add_out, x_tensor, y_tensor, exp_tensor, INTBOOL, 2); in TEST_F()
197 max_out, x_tensor, y_tensor, exp_tensor, INTBOOLFLOAT); in TEST_F()
[all …]
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_gradients.py71 def __init__(self, y_tensor=None): argument
86 self._y_tensor = y_tensor
89 if y_tensor:
90 self._graph = y_tensor.graph
95 def y_tensor(self): member in GradientsDebugger
/external/tensorflow/tensorflow/compiler/tests/
Dlistdiff_op_test.py33 y_tensor = ops.convert_to_tensor(y, dtype=dtype)
36 x_tensor, y_tensor, out_idx=index_dtype)
/external/tensorflow/tensorflow/python/kernel_tests/data_structures/
Dlistdiff_op_test.py42 y_tensor = ops.convert_to_tensor(y, dtype=dtype)
43 out_tensor, idx_tensor = diff_func(x_tensor, y_tensor,
/external/pytorch/torch/_numpy/
D_funcs_impl.py504 def _xy_helper_corrcoef(x_tensor, y_tensor=None, rowvar=True): argument
508 if y_tensor is not None:
517 ndim_extra = 2 - y_tensor.ndim
519 y_tensor = y_tensor.view((1,) * ndim_extra + y_tensor.shape)
520 if not rowvar and y_tensor.shape[0] != 1:
521 y_tensor = y_tensor.mT
522 y_tensor = y_tensor.clone()
524 x_tensor = _concatenate((x_tensor, y_tensor), axis=0)
/external/pytorch/test/
Dtest_binary_ufuncs.py3902 y_tensor = torch.tensor([y], dtype=dtype, device=device)
3903 actual = torch.atan2(y_tensor, x_tensor)
/external/pytorch/torch/testing/_internal/
Dcommon_methods_invocations.py5733 y_tensor = make_arg(y_shape)
5736 yield SampleInput(y_tensor, x_tensor, **kwarg)
5738 yield SampleInput(y_tensor, **kwarg)
5759 y_tensor = make_arg(y_shape)
5762 yield SampleInput(y_tensor, x_tensor, **kwarg)
5764 yield SampleInput(y_tensor, **kwarg)