Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for createReshapeOp (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc

        // [1, num_rows, num_cols] -> [num_rows, num_cols]
        auto reshape_op = createReshapeOp(value, {num_rows, num_cols}, element_type,
                                          loc, rewriter);
        sliced.emplace_back(reshape_op.getOutput());
      } else {
        // Reshape to rank-3 tensor with first dimension as the batch size.
        auto reshape_op = createReshapeOp(value, {batch_size, num_rows, num_cols},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

      return rewriter->create<TF::TransposeOp>(loc, transposed_type, value,
                                               perm_op);
    }
    
    TF::ReshapeOp createReshapeOp(Value value, ArrayRef<int64_t> shape,
                                  Type element_type, Location loc,
                                  PatternRewriter* rewriter) {
      auto shape_tensor = createI64ConstantOp(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top