- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 83 for GetBody (0.12 sec)
-
tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc
} return success(); } void SplitMergedOperandsPass::runOnOperation() { llvm::DenseSet<Value> stateful_values; auto func = getOperation(); OpBuilder builder(func); for (auto& bb : func.getBody()) { for (auto& op : bb) { if (failed(DuplicateValueIfNeeded(&op, &stateful_values, &builder))) { func.emitError() << "Failed to duplicate values for the stateful op\n"; return signalPassFailure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.h
public: explicit ConvertLSTMCellSimpleToFusedLSTM(mlir::func::FuncOp fused_func_op) : fused_func_op_(fused_func_op), couple_input_forget_gates_(false), builder_(fused_func_op.getBody()) {} // not copyable. ConvertLSTMCellSimpleToFusedLSTM(const ConvertLSTMCellSimpleToFusedLSTM&) = delete; ConvertLSTMCellSimpleToFusedLSTM& operator=( const ConvertLSTMCellSimpleToFusedLSTM&) = delete;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/group_by_dialect.cc
mlir::func::FuncOp func, int& counter, llvm::SmallDenseSet<StringRef>& dialects, Operation* module) { // don't re-process functions we generated if (func->getAttr("dialect")) return; processRegion(func.getBody(), counter, dialects, module); } void GroupByDialectPass::processRegion(mlir::Region& region, int& counter, llvm::SmallDenseSet<StringRef>& dialects,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi
class FuncOp: def __init__(self, *args, **kwargs) -> None: ... def create(self, arg0: str, arg1: FunctionType) -> FuncOp: ... def getArguments(self) -> list[BlockArgument]: ... def getBody(self) -> Region: ... def getName(self) -> str: ... def getType(self) -> FunctionType: ... class FunctionType(Type): def __init__(self, *args, **kwargs) -> None: ... def getResults(self) -> list[Type]: ...
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 09 17:10:09 UTC 2023 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc
if (shared_name.empty()) return false; for (func::FuncOp init_func_op : tf_saved_model::GetInitializerFunctions(module_op)) { for (Operation& op : init_func_op.getBody().getOps()) { StringRef other_shared_name = GetSharedName(&op); if (IsHashTableOp(&op) && other_shared_name == shared_name) { return true; } } } return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.2K bytes - Viewed (0) -
src/net/http/transport_internal_test.go
if err != nil { panic(err) } return req } func dummyRequestWithBodyNoGetBody(method string) *Request { req := dummyRequestWithBody(method) req.GetBody = nil return req } // issue22091Error acts like a golang.org/x/net/http2.ErrNoCachedConn. type issue22091Error struct{} func (issue22091Error) IsHTTP2NoCachedConnError() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:57:17 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc
subgraphs_metadata.reserve(funcs.size()); for (auto& func : funcs) { subgraphs_metadata.push_back( CreateSubgraphMetadata(hardware_map, &func.getBody(), &fb_builder)); } auto runtime_metadata = CreateRuntimeMetadata(fb_builder, hardware_metadata_offset, fb_builder.CreateVector(subgraphs_metadata));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc
// then tensor<1xf32> is the subtype. tensor_types.emplace_back(var_handle_op.resource_subtype()); } auto builder = OpBuilder::atBlockTerminator(&session_init_func.getBody().front()); const BlockArgument filename_arg = InsertFilePrefixArgument(session_init_func, builder); TF::ConstOp tensor_names_const = CreateTensorNamesConst(tensor_names, builder);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Mar 12 06:02:20 UTC 2023 - 9K bytes - Viewed (0)