idx_type_t Class — pytorch Architecture
Architecture documentation for the idx_type_t class in EmbeddingBag.h from the pytorch codebase.
Entity Profile
Source Code
aten/src/ATen/native/mps/kernels/EmbeddingBag.h lines 11–27
template <typename idx_type_t = uint32_t>
struct EmbeddingBagParams {
::c10::metal::array<idx_type_t, 2> weight_strides;
::c10::metal::array<idx_type_t, 2> output_strides;
::c10::metal::array<idx_type_t, 2> max_indices_strides;
bool use_per_sample_weights;
idx_type_t per_sample_weights_stride;
idx_type_t num_indices;
idx_type_t num_bags;
idx_type_t feature_size;
idx_type_t num_weights;
EmbeddingBagMode mode;
int64_t padding_idx;
};
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free