- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createTransposeOp (0.22 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc
Value rhs = op.getOperand(1); TransposeOp rhs_transpose_op = CreateTransposeOp( /*input=*/rhs, kNchwToNhwcPermutation, rewriter); auto new_binary_op = rewriter.create<OpT>(op.getLoc(), lhs_pre_transpose, rhs_transpose_op); // NHWC -> NCHW for the output, to match the shapes of `op`'s users. TransposeOp output_transpose_op = CreateTransposeOp( /*input=*/new_binary_op, kNhwcToNchwPermutation, rewriter);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
for (int64_t i = 0, e = out_transpose.size(); i < e; ++i) { out_inverse_transpose->at(out_transpose[i]) = i; } *lhs = createTransposeOp(*lhs, loc, lhs_transpose, rewriter); *rhs = createTransposeOp(*rhs, loc, rhs_transpose, rewriter); return success(); } template <int I> inline int64_t ProdShapeWithIndexInTuple( ArrayRef<int64_t> shape,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0)