- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for getCallableRegion (0.81 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc
module->walk([&](SymbolOpInterface op) { if (!op.isPrivate()) return; auto call = llvm::dyn_cast<CallableOpInterface>(op.getOperation()); if (!call) return; Region* region = call.getCallableRegion(); if (!region) return; // happens e.g. for external functions auto func = llvm::dyn_cast<FunctionOpInterface>(op.getOperation()); if (!func || do_not_touch.count(func)) return;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
if (failed(inlineCall(inliner, cast<CallOpInterface>(call_op.getOperation()), cast<CallableOpInterface>(callee.getOperation()), callee.getCallableRegion(), /**shouldCloneInLinedRegion=*/true))) { // This failure is usually because the decompose function is not defined. // This call will be raised to TF ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.td
CArg<"ArrayRef<NamedAttribute>", "{}">:$attrs)> ]; let extraClassDeclaration = [{ LogicalResult verifyType() { return success(); } mlir::Region *getCallableRegion(); /// Returns the argument types of this function. ArrayRef<Type> getArgumentTypes() { return getFunctionType().getInputs(); } /// Returns the result types of this function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 10:54:29 UTC 2024 - 17.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
// backtrack through that function call (our analysis will be correct but // pessimistic). for (CallGraphNode* node : scc) { if (node->isExternal()) continue; Region* region = node->getCallableRegion(); GetOrCreateAnalysis(*region); } } // This above call graph analysis will cover all regions attached to functions // but we also need to analyze regions attached to other ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0)