Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for transpositions (0.2 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc

      for (auto [i, dimension] : llvm::reverse(llvm::zip_equal(indices, shape))) {
        contiguous_offset += base_offset * i;
        base_offset *= dimension;
      }
    
      return contiguous_offset;
    }
    
    // Performs transposition of a tensor represented as a contiguous element array.
    // Assumes row-major order. The shape of the input tensor and the desired
    // permutation is registered during construction, and calling `TransposeValues`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top