- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isScala3 (0.18 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize.cc
if (mlir::isa<quant::UniformQuantizedPerAxisType>(element_type)) { return false; } if (IsScalar(value)) { return false; } return elements_attr->isSplat(); } // If this type is a scalar shaped type. bool IsScalar(mlir::Value value) const { auto type = mlir::dyn_cast<ShapedType>(value.getType()); if (!type) { return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
tensorflow::Tensor tensor; if (!tensorflow::ConvertToTensor(proto_attr, &tensor).ok()) return failure(); if (tensor.dtype() != tensorflow::DT_VARIANT) return failure(); if (!tensorflow::TensorShapeUtils::IsScalar(tensor.shape())) return failure(); const tensorflow::TensorList *list = tensor.scalar<tensorflow::Variant>()().get<tensorflow::TensorList>(); if (!list) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
RELEASE.md
`TensorShapeUtils` since TensorFlow is scalar strict within Google (for example, the shape argument to `tf.reshape` can't be a scalar anymore). The open source release was already scalar strict, so outside Google `IsScalar` and `IsVector` are exact replacements. * The following files are being removed from `tensorflow/core/public/`: * `env.h` -> `../platform/env.h` * `status.h` -> `../lib/core/status.h`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 730.3K bytes - Viewed (0)