- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetSubtypes (0.39 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
"result isn't"); } else if (lhs_element_type_with_subtype.GetSubtypes().size() > 1) { DCOMMENT( "Unexpected `TensorFlowTypeWithSubtype` original type with size>1"); } else if (lhs_element_type_with_subtype.GetSubtypes().empty()) { subtype = rhs_element_type_with_subtype.GetSubtypes().front(); } else {
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/tensorflow/ir/tf_ops_n_z.cc
auto variant_type = getElementTypeOrSelf(getOperand().getType()).cast<TF::VariantType>(); if (variant_type.getSubtypes().empty()) return {}; return ConvertShapeToAttr(variant_type.getSubtypes()[0], width); } //===----------------------------------------------------------------------===// // TensorListStackOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
} // We only support up to one nested type in tf_type.variant_type. if (variant_type.getSubtypes().size() > 1) { return std::nullopt; } if (variant_type.getSubtypes().empty()) { return variant_params; } mlir::TensorType tensor_type = variant_type.getSubtypes().front(); tflite::TensorType tflite_element_type = GetTFLiteType(tensor_type.getElementType()).value();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
// This is required to populate derived attributes during export in a // meaningful way. Else during export to GraphDef element_type() query // will result in out of bounds access/assert. if (handle_dtype().getSubtypes().size() != 1) { return emitOpError( "must have exactly one subtype in the result variant type"); } if (!IsOfRankOrUnranked(op.getElementShape(), 0) &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0)