tensorflow/compiler/mlir/xla/transforms/legalize_tf.cc
// Returns 1D 64-bit dense elements attribute with the given values.
Returns 1D 64-bit dense elements attribute with the given values.
Returns 1D 64 - bit dense elements attribute with the given values .
static DenseIntElementsAttr GetI64ElementsAttr(ArrayRef<int64_t> values,
                                               Builder *builder) {
  RankedTensorType ty = RankedTensorType::get(
      {static_cast<int64_t>(values.size())}, builder->getIntegerType(64));
  return DenseIntElementsAttr::get(ty, values);
}
static DenseIntElementsAttr GetI64ElementsAttr ( ArrayRef < int64_t > values , Builder * builder ) { RankedTensorType ty = RankedTensorType :: get ( { static_cast < int64_t > ( values . size ( ) ) } , builder -> getIntegerType ( 64 ) ) ; return DenseIntElementsAttr :: get ( ty , values ) ; }
Returns 1D 64-bit dense elements attribute with the given values.
Returns 1D 64 - bit dense elements attribute with the given values .