Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sub_shape_i32 (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      // Down-cast to 32 bit int if needed.
      if (output_elt_ty.isInteger(32)) {
        SmallVector<int32_t, 2> sub_shape_i32(sub_shape.size());
        std::transform(sub_shape.begin(), sub_shape.end(), sub_shape_i32.begin(),
                       [](int64_t d) { return static_cast<int32_t>(d); });
        return DenseIntElementsAttr::get(output_ty, sub_shape_i32);
      }
      return DenseIntElementsAttr::get(output_ty, sub_shape);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
Back to top