- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for getDefiningOp (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
while ( llvm::isa_and_nonnull<IdentityOp, IdentityNOp>(value.getDefiningOp())) { value = value.getDefiningOp()->getOperand( mlir::cast<OpResult>(value).getResultNumber()); } Operation* op = value.getDefiningOp(); if (!llvm::isa_and_nonnull<BatchDatasetV2Op, MapDatasetOp, RepeatDatasetOp,
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/lite/flatbuffer_export.cc
// None type is allowed to represent unspecified operands. if (mlir::isa<NoneType>(value.getType())) return true; auto type = mlir::dyn_cast<TensorType>(value.getType()); if (!type) { if (auto op = value.getDefiningOp()) { error_handler.emitError() << '\'' << op << "' should produce value of tensor type instead of " << value.getType(); return false; }
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/lite/transforms/lower_static_tensor_list.cc
auto map_fn = [](Value value) -> int { Value parent = value; while (true) { if (auto identity = parent.getDefiningOp<TF::IdentityOp>()) { parent = identity.getInput(); } else if (auto set_item = parent.getDefiningOp<TF::TensorListSetItemOp>()) { parent = set_item.getInputHandle(); } else { break; } }
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/tf2xla/api/v2/tf_executor_to_graph.cc
for (Value fetch_operand : fetch.getOperands()) { if (mlir::isa<mlir::tf_executor::ControlType>(fetch_operand.getType())) { Operation* defining_op = GetIslandInnerOpOrSelf(fetch_operand.getDefiningOp()); auto node_it = nodes_.find(defining_op); TF_RET_CHECK(node_it != nodes_.end()); control_ret_nodes->insert(node_it->second); } } return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
input_shape_attr.getValues<int32_t>().begin(), input_shape_attr.getValues<int32_t>().end()); } else { auto pack = op.getInputSizes().template getDefiningOp<TF::PackOp>(); if (!pack || pack.getAxis() != 0) return failure(); auto pack_ty = mlir::dyn_cast<RankedTensorType>(pack.getType()); if (!pack_ty || pack_ty.getRank() != 1) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)