- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for _handle_dtypes (0.4 sec)
-
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
} Type GetTensorTypeForTensorList(Type element_type, TF::VariantType handle_dtype, PatternRewriter *rewriter) { // If the variant type in the output handle has item shape available, use it // to derive the output shape by setting unknown leading dimension. // Otherwise, result type will be of unranked type. if (handle_dtype.getSubtypes().empty()) { return UnrankedTensorType::get(element_type); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
let extraClassDeclaration = [{ // Returns type of the TensorList element produced by this op. TensorType element_type() { return handle_dtype().getSubtypes()[0]; } // Returns data type of the result handle. Returned type contains type of // the TensorList element as a subtype. VariantType handle_dtype() { return getElementTypeOrSelf(getHandle().getType()).cast<TF::VariantType>(); } }]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0)