Home
last modified time | relevance | path

Searched refs:_nested_tensor_size (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dinput_metadata.cpp12 auto nested_size = input._nested_tensor_size(); in compute_variant_shape()
122 return grad._nested_tensor_size().is_same_size(shape_as_tensor()); in is_same_shape()
146 ss << grad._nested_tensor_size(); in incompatible_shape_error_message()
H A Dsaved_variable.cpp167 message << data_._nested_tensor_size() << "]"; in unpack()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A DTensorProperties.cpp43 const auto self_nt_size = _nested_tensor_size(self); in nested_is_same_size()
44 const auto other_nt_size = _nested_tensor_size(other); in nested_is_same_size()
/aosp_15_r20/external/pytorch/aten/src/ATen/native/nested/cuda/
H A DNestedTensorTransformerFunctions.cpp379 grad_q = wrap_buffer(grad_q.view(-1), query.transpose(1,2)._nested_tensor_size()).transpose(1,2); in _scaled_dot_product_flash_attention_backward_nested()
380 grad_k = wrap_buffer(grad_k.view(-1), key.transpose(1,2)._nested_tensor_size()).transpose(1,2); in _scaled_dot_product_flash_attention_backward_nested()
381 grad_v = wrap_buffer(grad_v.view(-1), value.transpose(1,2)._nested_tensor_size()).transpose(1,2); in _scaled_dot_product_flash_attention_backward_nested()
/aosp_15_r20/external/pytorch/torch/autograd/
H A D__init__.py78 out_shape = output._nested_tensor_size()
79 grad_shape = grad._nested_tensor_size()
/aosp_15_r20/external/pytorch/benchmarks/nested/
H A Dnested_bmm_bench.py37 nt_a_size = torch.ops.aten._nested_tensor_size(nt_a)
/aosp_15_r20/external/pytorch/aten/src/ATen/native/nested/
H A DNestedTensorUtils.cpp22 at::Tensor _nested_tensor_size(const at::Tensor& self) { in _nested_tensor_size() function
/aosp_15_r20/external/pytorch/torch/multiprocessing/
H A Dreductions.py422 rebuild_sizes_func, rebuild_sizes_args = reduce_tensor(nt._nested_tensor_size())
/aosp_15_r20/external/pytorch/test/expect/
H A DHasDecompTest.test_has_decomposition.expect464 aten::_nested_tensor_size
465 aten::_nested_tensor_size.out
/aosp_15_r20/external/pytorch/torch/
H A D_tensor.py410 self._nested_tensor_size(),
H A Doverrides.py1452 Tensor._nested_tensor_size: lambda self: -1,
/aosp_15_r20/external/pytorch/test/
H A Dtest_nestedtensor.py1622 size = nt_sum._nested_tensor_size()
2344 nt_sizes = nt._nested_tensor_size()
2356 nt_unsqueezed._nested_tensor_size()[:, size_idx],
2368 self.assertEqual(nt_squeezed._nested_tensor_size(), nt_sizes)
5138 self.assertEqual(nt1._nested_tensor_size(), nt2._nested_tensor_size())