MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / dimensions

Method dimensions

tensorflow/core/kernels/data_format_ops.h:80–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78struct VecPermute {
79 VecPermute(const Eigen::DSizes<Eigen::DenseIndex, 8>& dst) : dst_(dst) {}
80 Eigen::DSizes<Eigen::DenseIndex, 1> dimensions(
81 typename TTypes<T>::ConstFlat input) const {
82 Eigen::DSizes<Eigen::DenseIndex, 1> result;
83 result[0] = input.dimension(0);
84 return result;
85 }
86 template <typename Output, typename Device>
87 void eval(typename TTypes<T>::ConstFlat input, Output& output,
88 const Device& d) const {

Callers 15

TESTFunction · 0.45
To32BitFunction · 0.45
TESTFunction · 0.45
ComputeMethod · 0.45
CalculateStridesFunction · 0.45
CustomTensorEvaluatorMethod · 0.45
CreateSparseSlicesMethod · 0.45
ComputeMethod · 0.45
LeftMethod · 0.45
RightMethod · 0.45
operator()Method · 0.45
operator()Method · 0.45

Calls 1

dimensionMethod · 0.45

Tested by 5

TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
PackRhsHelperFunction · 0.36
TESTFunction · 0.36