/aosp_15_r20/external/tensorflow/tensorflow/python/ops/ |
H A D | nn_ops.py | 260 strides=None, argument 340 strides=None, argument 408 def _conv1d(self, input, filter, strides, padding, data_format, name): argument 482 strides, argument 553 strides=None, argument 981 def _get_strides_and_dilation_rate(num_spatial_dims, strides, dilation_rate): argument 1034 strides=None, argument 1176 strides=None, argument 1200 strides=None, argument 1379 strides=None, argument [all …]
|
/aosp_15_r20/external/libyuv/source/ |
H A D | convert_jpeg.cc | 37 const int* strides, in JpegCopyI420() 51 const int* strides, in JpegI422ToI420() 65 const int* strides, in JpegI444ToI420() 79 const int* strides, in JpegI400ToI420() 204 const int* strides, in JpegI420ToNV21() 216 const int* strides, in JpegI422ToNV21() 228 const int* strides, in JpegI444ToNV21() 240 const int* strides, in JpegI400ToNV21() 333 const int* strides, in JpegI420ToNV12() 346 const int* strides, in JpegI422ToNV12() [all …]
|
/aosp_15_r20/external/libaom/third_party/libyuv/source/ |
H A D | convert_jpeg.cc | 37 const int* strides, in JpegCopyI420() 51 const int* strides, in JpegI422ToI420() 65 const int* strides, in JpegI444ToI420() 79 const int* strides, in JpegI400ToI420() 204 const int* strides, in JpegI420ToNV21() 216 const int* strides, in JpegI422ToNV21() 228 const int* strides, in JpegI444ToNV21() 240 const int* strides, in JpegI400ToNV21() 333 const int* strides, in JpegI420ToNV12() 346 const int* strides, in JpegI422ToNV12() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/ |
H A D | pooling.py | 45 def __init__(self, pool_size, strides, argument 61 def average_pooling1d(inputs, pool_size, strides, argument 118 def __init__(self, pool_size, strides, argument 134 def max_pooling1d(inputs, pool_size, strides, argument 195 def __init__(self, pool_size, strides, argument 208 pool_size, strides, argument 271 def __init__(self, pool_size, strides, argument 284 pool_size, strides, argument 349 def __init__(self, pool_size, strides, argument 362 pool_size, strides, argument [all …]
|
H A D | convolutional.py | 83 strides=1, argument 124 strides=1, argument 290 strides=(1, 1), argument 331 strides=(1, 1), argument 505 strides=(1, 1, 1), argument 546 strides=(1, 1, 1), argument 722 strides=1, argument 838 strides=(1, 1), argument 888 strides=1, argument 1012 strides=(1, 1), argument [all …]
|
/aosp_15_r20/external/pytorch/aten/src/ATen/test/ |
H A D | cuda_apply_test.cpp | 23 int strides[] = {4, 1}; in TEST() local 35 int strides[] = {3 * 7, 7, 1}; in TEST() local 46 int strides[] = {3 * 3, 3, 1}; in TEST() local 58 int strides[] = {2 * 2, 2}; in TEST() local 70 int strides[] = {6 * 22, 22, 2 * 2, 2}; in TEST() local 84 int strides[] = {4, 0, 16, 0, 1}; in TEST() local 98 int strides[] = {17, 12, 3}; in TEST() local 110 int strides[] = {6 * 22, 22, 2 * 2, 2}; in TEST() local 126 int strides[] = {6 * 22, 22, 2 * 2, 2}; in TEST() local 142 int strides[] = {17, 12, 3}; in TEST() local
|
/aosp_15_r20/external/tensorflow/tensorflow/core/lib/random/ |
H A D | random_distributions_test.cc | 151 const std::vector<int>& strides, T z_limit) { in UniformMomentsTest() 169 const std::vector<int>& strides, T z_limit) { in NormalMomentsTest() 244 const std::vector<int>& strides, T z_limit) { in RandomParametersMomentsTest() 260 const std::vector<int> strides = {0, 1, 4, 17}; in TEST() local 265 const std::vector<int> strides = {0, 1, 4, 17}; in TEST() local 270 const std::vector<int> strides = {0, 1, 4, 17}; in TEST() local 276 const std::vector<int> strides = {0, 1, 4, 17}; in TEST() local 281 const std::vector<int> strides = {0, 1, 4, 17}; in TEST() local 286 const std::vector<int> strides = {0, 1, 4, 17}; in TEST() local 291 const std::vector<int> strides = {0, 1, 4, 17}; in TEST() local [all …]
|
/aosp_15_r20/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | strided_slice_quant8_signed.mod.py | 21 strides = Parameter("strides", "TENSOR_INT32", "{2}", [1, 1]) variable 46 strides = Parameter("strides", "TENSOR_INT32", "{2}", [1, 1]) variable 71 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 96 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 121 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 146 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 171 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 196 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 221 strides = Parameter("strides", "TENSOR_INT32", "{1}", [-1]) variable 246 strides = Parameter("strides", "TENSOR_INT32", "{2}", [2, -1]) variable [all …]
|
/aosp_15_r20/external/executorch/runtime/core/exec_aten/testing_util/test/ |
H A D | tensor_factory_test.cpp | 132 int32_t strides[dim] = {2, 1}; // Contiguous in TEST_F() local 161 int32_t strides[dim] = {2, 1}; // Contiguous in TEST_F() local 191 int32_t strides[dim] = {2, 1}; // Contiguous in TEST_F() local 311 std::vector<int64_t> strides = {1, 2}; in TEST_F() local 324 int32_t strides[dim] = {1, 2}; // Incontiguous in TEST_F() local 348 std::vector<int64_t> strides = {1, 2}; in TEST_F() local 361 int32_t strides[dim] = {1, 2}; // Incontiguous in TEST_F() local 385 std::vector<int64_t> strides = {1, 2}; in TEST_F() local 398 int32_t strides[dim] = {1, 2}; // Incontiguous in TEST_F() local 424 std::vector<int64_t> strides = {30, 10, 2, 10, 2, 1, 2, 10, 10, 10, 30}; in TEST_F() local [all …]
|
/aosp_15_r20/external/pytorch/torch/fx/experimental/ |
H A D | sym_node.py | 383 def is_contiguous(self, sizes, strides) -> "SymNode": argument 386 def is_channels_last_contiguous_2d(self, sizes, strides) -> "SymNode": argument 389 def is_channels_last_contiguous_3d(self, sizes, strides) -> "SymNode": argument 392 def is_channels_last_strides_2d(self, sizes, strides) -> "SymNode": argument 395 def is_channels_last_strides_3d(self, sizes, strides) -> "SymNode": argument 398 def is_non_overlapping_and_dense_indicator(self, sizes, strides) -> "SymNode": argument 419 def is_non_overlapping_and_dense(self, sizes, strides): argument 904 def sympy_is_contiguous(sizes, strides): argument 909 def sympy_is_contiguous_generic(sizes, strides, dim_order): argument 933 def sympy_is_channels_last_contiguous_2d(sizes, strides): argument [all …]
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cpu/ |
H A D | IndexKernel.cpp | 38 const IntArrayRef strides; member 78 auto loop = [&](char** data, const int64_t* strides, int64_t n) { in cpu_take_put_kernel() 203 auto handle_nonzero_idx_stride = [&](char** data, const int64_t* strides, int64_t n) { in index_fill_kernel() 222 auto handle_zero_idx_stride = [&](char** data, const int64_t* strides, int64_t n) { in index_fill_kernel() 241 auto loop = [&](char** data, const int64_t* strides, int64_t n) { in index_fill_kernel() 261 auto handle_nonzero_idx_stride = [&](char** data, const int64_t* strides, int64_t n) { in index_copy_kernel() 280 auto handle_zero_idx_stride = [&](char** data, const int64_t* strides, int64_t n) { in index_copy_kernel() 299 auto loop = [&](char** data, const int64_t* strides, int64_t n) { in index_copy_kernel() 319 auto loop = [&](char** data, const int64_t* strides, int64_t n) { in cpu_masked_fill_kernel() 350 auto loop = [&](char** data, const int64_t* strides, int64_t n) { in cpu_masked_scatter_kernel() [all …]
|
H A D | Loops.h | 47 dereference_impl(char* C10_RESTRICT data[], const int64_t* strides, int64_t i, in dereference_impl() 56 dereference(char* C10_RESTRICT data[], const int64_t* strides, int64_t i) { in dereference() 86 execute_op(char* C10_RESTRICT data[], const int64_t* strides, int64_t i, int64_t n, func_t&& op) { in execute_op() 101 execute_op(char* C10_RESTRICT data[], const int64_t* strides, int64_t i, int64_t n, func_t&& op) { in execute_op() 121 int64_t strides[ntensors]; in basic_loop() local
|
/aosp_15_r20/external/libvpx/third_party/libyuv/source/ |
H A D | convert_jpeg.cc | 37 const int* strides, in JpegCopyI420() 51 const int* strides, in JpegI422ToI420() 65 const int* strides, in JpegI444ToI420() 79 const int* strides, in JpegI400ToI420() 203 const int* strides, in JpegI420ToARGB() 214 const int* strides, in JpegI422ToARGB() 225 const int* strides, in JpegI444ToARGB() 236 const int* strides, in JpegI400ToARGB()
|
/aosp_15_r20/external/pytorch/c10/core/ |
H A D | MemoryFormat.h | 131 const ArrayRef<T> strides) { in is_channels_last_strides_2d_s4() 173 const ArrayRef<T> strides) { in is_channels_last_strides_3d_s5() 249 const ArrayRef<T> strides) { in is_channels_last_strides_2d() 265 const ArrayRef<T> strides) { in is_channels_last_strides_3d() 280 const IntArrayRef strides) { in is_channels_last_strides_2d() 286 const IntArrayRef strides) { in is_channels_last_strides_3d()
|
H A D | SymNodeImpl.h | 132 ArrayRef<SymNode> strides) { in is_contiguous() 137 ArrayRef<SymNode> strides) { in is_channels_last_contiguous_2d() 142 ArrayRef<SymNode> strides) { in is_channels_last_contiguous_3d() 147 ArrayRef<SymNode> strides) { in is_channels_last_strides_2d() 152 ArrayRef<SymNode> strides) { in is_channels_last_strides_3d() 157 ArrayRef<SymNode> strides) { in is_non_overlapping_and_dense()
|
/aosp_15_r20/external/pytorch/aten/src/ATen/core/ |
H A D | tensor_type.cpp | 14 bool possible_cross_dimension_overlap(c10::IntArrayRef sizes, c10::IntArrayRef strides) { in possible_cross_dimension_overlap() 152 at::IntArrayRef strides, in computeStrideProps() 258 VaryingShape<int64_t> strides; in create() local 280 const VaryingShape<int64_t>& strides, in create() 310 const VaryingShape<Stride>& strides, in create() 416 VaryingShape<int64_t> TensorType::strides() const { in strides() function in c10::TensorType 437 VaryingShape<Stride> strides, in TensorType() 452 auto strides = contiguousStridesOf(sizes); in createContiguous() local
|
/aosp_15_r20/external/executorch/extension/tensor/ |
H A D | tensor_ptr_maker.cpp | 81 std::vector<exec_aten::StridesType> strides, in random_strided() 101 std::vector<exec_aten::StridesType> strides, in empty_strided() 118 std::vector<exec_aten::StridesType> strides, in full_strided() 137 std::vector<exec_aten::StridesType> strides, in rand_strided() 150 std::vector<exec_aten::StridesType> strides, in randn_strided() 165 std::vector<exec_aten::StridesType> strides, in randint_strided()
|
H A D | tensor_ptr.cpp | 32 std::vector<exec_aten::StridesType> strides; member 61 std::vector<exec_aten::StridesType> strides, in make_tensor_ptr() 134 std::vector<exec_aten::StridesType> strides, in make_tensor_ptr() 161 std::vector<exec_aten::StridesType> strides( in clone_tensor_ptr() local 194 std::vector<exec_aten::StridesType> strides( in clone_tensor_ptr() local
|
/aosp_15_r20/external/tensorflow/tensorflow/python/keras/layers/ |
H A D | pooling.py | 53 def __init__(self, pool_function, pool_size, strides, argument 187 def __init__(self, pool_size=2, strides=None, argument 300 def __init__(self, pool_size=2, strides=None, argument 336 def __init__(self, pool_function, pool_size, strides, argument 523 strides=None, argument 637 strides=None, argument 674 def __init__(self, pool_function, pool_size, strides, argument 804 strides=None, argument 875 strides=None, argument
|
/aosp_15_r20/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
H A D | TensorBlock.h | 26 EIGEN_ALWAYS_INLINE DSizes<IndexType, NumDims> strides( in strides() function 28 DSizes<IndexType, NumDims> strides; in strides() local 49 EIGEN_ALWAYS_INLINE DSizes<IndexType, NumDims> strides( in strides() function 55 EIGEN_STRONG_INLINE DSizes<std::ptrdiff_t, sizeof...(Indices)> strides( in strides() function 241 const Dimensions& strides() const { return m_strides; } in strides() function 250 DestinationBuffer(Scalar* data, const Dimensions& strides, in DestinationBuffer() 259 Scalar* data, const Dimensions& strides) { in make() 265 const Dimensions& strides) { in kind()
|
/aosp_15_r20/external/executorch/runtime/core/portable_type/test/ |
H A D | tensor_impl_test.cpp | 42 StridesType strides[2] = {2, 1}; in TEST_F() local 66 StridesType strides[RANK] = {100000000, 1000000, 10000, 100, 1}; in TEST_F() local 96 StridesType strides[3] = {3, 3, 1}; in TEST_F() local 125 StridesType strides[2] = {2, 1}; in TEST_F() local 153 StridesType strides[2] = {2, 1}; in TEST_F() local 200 StridesType strides[0] = {}; in TEST_F() local 226 StridesType strides[2] = {2, 1}; in TEST_F() local 363 StridesType strides[1] = {1}; in TEST_F() local
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/tensorexpr/ |
H A D | tensor.cpp | 102 const std::optional<std::vector<ExprHandle>>& strides, in Compute() 119 const std::optional<std::vector<ExprHandle>>& strides, in Compute() 140 const std::optional<std::vector<ExprHandle>>& strides, in Compute() 162 const std::optional<std::vector<ExprHandle>>& strides, in Compute() 186 const std::optional<std::vector<ExprHandle>>& strides, in Compute() 214 const std::optional<std::vector<ExprHandle>>& strides, in Reduce() 238 const std::optional<std::vector<ExprHandle>>& strides, in Reduce()
|
/aosp_15_r20/external/cronet/third_party/libc++/src/test/libcxx/containers/views/mdspan/layout_stride/ |
H A D | assert.ctor.extents_span.pass.cpp | 46 std::array<int, 2> strides{20, 1}; in main() local 55 std::array<unsigned, 2> strides{257, 1}; in main() local 64 std::array<int, 2> strides{20, -1}; in main() local 72 std::array<unsigned, 2> strides{20, 0}; in main() local
|
/aosp_15_r20/external/ComputeLibrary/src/runtime/CL/functions/ |
H A D | CLStridedSlice.cpp | 37 … const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, in configure() 47 … const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, in validate() 73 … const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, in configure() 80 … const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, in configure() 93 … const Coordinates &starts, const Coordinates &ends, const BiStrides &strides, in validate()
|
/aosp_15_r20/external/ComputeLibrary/src/core/utils/helpers/ |
H A D | tensor_transform.cpp | 34 int calculate_stride_on_index(int index, Coordinates strides) in calculate_stride_on_index() 39 …t_on_index(TensorShape input_shape, int index, Coordinates starts, Coordinates strides, int32_t be… in calculate_start_on_index() 73 Coordinates ends, Coordinates strides, in calculate_end_on_index() 121 … Coordinates starts, Coordinates ends, Coordinates strides, in calculate_strided_slice_coords() 139 …ce_output_shape(TensorShape input_shape, Coordinates starts, Coordinates ends, Coordinates strides, in compute_strided_slice_output_shape()
|