Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lengths_tensor (0.14 sec)

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

      // Create the lengths as a list of the same value (element size).
      tensorflow::Tensor lengths_tensor(tensorflow::DT_INT64,
                                        {buffer_type.getDimSize(0)});
      for (int64_t i = 0; i < buffer_type.getDimSize(0); ++i) {
        lengths_tensor.vec<int64_t>()(i) = buffer_type.getDimSize(1);
      }
      concat.getLengths().replaceAllUsesWith(builder.create<TF::ConstOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
Back to top