- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 139 for call_op (0.31 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
bool IsQintToIntCast(Operation *op) { auto cast_op = llvm::dyn_cast<TF::CastOp>(op); return cast_op && IsIllegalType(cast_op.getX().getType()) && ToLegalType(cast_op.getX().getType()) == cast_op.getY().getType(); } bool IsIntToQintCast(Operation *op) { auto cast_op = llvm::dyn_cast<TF::CastOp>(op); return cast_op && IsIllegalType(cast_op.getY().getType()) && ToLegalType(cast_op.getY().getType()) == cast_op.getX().getType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc
if_op.erase(); return success(); } LogicalResult ConvertCaseOp(CaseOp case_op) { OpBuilder builder(case_op); auto case_region = builder.create<TF::CaseRegionOp>( case_op.getLoc(), case_op.getResultTypes(), case_op.getBranchIndex(), case_op.getIsStateless(), case_op.getBranches().size()); CopyDeviceAndUnderscoredAttributes(case_op, case_region);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/executor_tpuv1_outline_island/case_op.mlir
Michael Gester <******@****.***> 1653667786 -0700
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 16:14:17 UTC 2022 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/case_op.pbtxt
Jacques Pienaar <******@****.***> 1596832379 -0700
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 07 20:38:34 UTC 2020 - 3.9K bytes - Viewed (0) -
operator/cmd/mesh/testdata/manifest-generate/input/all_on.yaml
John Howard <******@****.***> 1603485929 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Oct 23 20:45:29 UTC 2020 - 387 bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc
constexpr float kRequantCost = 2.0; // TODO(renjieliu): Ideally this should consider different kinds of SOCs as // well. // Get total bytes transferred. int64_t GetTransferredTensorBytes(func::CallOp from_graph, func::CallOp to_graph) { int64_t total_size_transferred = 0; for (auto input : to_graph.getOperands()) { Operation* input_op = input.getDefiningOp();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.h
const std::string& to_hardware_str, func::CallOp from_graph, func::CallOp to_graph); // Get the cross quantization/dequantization boundary cost. float GetQuantDequantCost(InferenceType from_inference_type, InferenceType to_inference_type, func::CallOp from_graph, func::CallOp to_graph); } // namespace tac } // namespace TFL } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 19 00:13:50 UTC 2022 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
auto inputs = func_ty.getInputs(); block->addArguments(inputs, SmallVector<Location>(inputs.size(), loc)); mlir::func::CallOp call_op = rewriter.create<mlir::func::CallOp>( loc, func, func_ty.getResults(), block->getArguments()); rewriter.create<mhlo::ReturnOp>(loc, call_op.getResults()); } //===----------------------------------------------------------------------===// // Op converters.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/utils/utils.h
// allowed and also unregistered. LogicalResult CopyAllowedUnregisteredAttrs(Operation* src, CallOp dst, const StringSet<>& registered); // Copies all the allowed attributes in 'src' to 'dst'. FlatSymbolRefAttr is // excluded. LogicalResult CopyNonSymbolRefAttrs(CallOp src, Operation* dst); // Propagates all the attributes in 'src' to the operations between 'begin' and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/subgraph.h
#include <string> #include "llvm/ADT/StringRef.h" #include "mlir/IR/Operation.h" // from @llvm-project namespace mlir { namespace TFL { namespace tac { // Interface name here is the "hook" between the CallOp and FuncOps. // Take the following example: // // call @func_1_CPU {tac.interface_name = "func_1"} // // "func_1" is the interface name where "func_1_cpu" is the real implementation
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 28 05:18:47 UTC 2023 - 1.8K bytes - Viewed (0)