- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for InferReductionOpType (0.29 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.h
// incompatible shapes. Otherwise, returns a tensor type with unknown rank. Type DeduceEqualCmpOpType(Builder *builder, Location loc, Value x, Value y, BoolAttr incompatible_shape_error); Type InferReductionOpType(Value input, Value reduction_indices, BoolAttr keep_dims); // Verifies that the given types are cast compatible. If not, emits appropriate
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc
if (!ranked_type) return UnrankedTensorType::get(builder->getI1Type()); return RankedTensorType::get(ranked_type.getShape(), builder->getI1Type()); } Type InferReductionOpType(Value input, Value reduction_indices, BoolAttr keep_dims) { Type input_ty = input.getType(); Type element_ty = getElementTypeOrSelf(input_ty);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.7K bytes - Viewed (0)