- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for TensorFlowTypeWithSubtype (0.37 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_types.h
using ::mlir::tf_type::StringType; // NOLINT using ::mlir::tf_type::TensorFlowRefType; // NOLINT using ::mlir::tf_type::TensorFlowType; // NOLINT using ::mlir::tf_type::TensorFlowTypeWithSubtype; // NOLINT using ::mlir::tf_type::VariantType; // NOLINT #define HANDLE_TF_TYPE(tftype, enumerant, name) \ using tftype##Type = mlir::tf_type::tftype##Type;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 29 04:41:05 UTC 2021 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/variables_utils.cc
} else if (llvm::isa<TF::VarHandleOp>(op)) { type = op->getResult(0) .getType() .cast<ShapedType>() .getElementType() .cast<TF::TensorFlowTypeWithSubtype>() .GetSubtypes() .back(); } return IsSupportedVariableType(type); } bool IsSupportedVariableType(ShapedType type) { auto element_type = type.getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 21 19:32:03 UTC 2021 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
rhs_element_type_with_subtype.GetSubtypes().size() == 1) { auto lhs_element_type_with_subtype = mlir::dyn_cast<TF::TensorFlowTypeWithSubtype>(lhs_element_type); TensorType subtype; if (!lhs_element_type_with_subtype) { DCOMMENT( "Unexpected inferred `TensorFlowTypeWithSubtype` when original " "result isn't"); } else if (lhs_element_type_with_subtype.GetSubtypes().size() > 1) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc
supported_ops->insert(allowlist_ops.begin(), allowlist_ops.end()); } bool IsStringType(Type type) { if (mlir::isa<mlir::TF::StringType>(type)) return true; auto sub_type = mlir::dyn_cast<mlir::TF::TensorFlowTypeWithSubtype>(type); if (!sub_type) return false; bool has_string = llvm::any_of(sub_type.GetSubtypes(), [](TensorType type) { return mlir::isa<mlir::TF::StringType>(type.getElementType()); });
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.4K bytes - Viewed (0)