- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 234 for eraseOp (0.15 sec)
-
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
auto s_const = builder.create<SparseConstOp>( op->getLoc(), cst.getValue(), s_param, new_value); value.replaceAllUsesWith(s_const.getResult()); cst.erase(); } else if (type.getElementType().isF16()) { std::vector<Eigen::half> dense_data; dense_data.reserve(type.getNumElements()); for (const auto& val : attr.getValues<APFloat>())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
// Export the result as a FunctionDef. FunctionDef func_def; TF_RETURN_IF_ERROR( ConvertMlirFunctionToFunctionLibraryDef(func, export_confs_, &func_def)); module.erase(); return func_def; } Status TFRDecomposeContext::DecomposeGraph(mlir::ModuleOp user_module) { // Call the decompose passes by using the external symbol table. if (failed(pm_.run(user_module))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
status = ReplacePartitionedOp(num_cores_per_replica, partitioned_output); } if (status.has_value()) { if (failed(*status) || !op->use_empty()) return WalkResult::interrupt(); op->erase(); } return WalkResult::advance(); }); if (result.wasInterrupted()) { signalPassFailure(); return; } } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
plugin/pkg/admission/network/denyserviceexternalips/admission_test.go
oldSvc: makeSvc("1.1.1.1", "3.3.3.3"), fail: true, }, { name: "update: add externalIPs", newSvc: makeSvc("1.1.1.1", "2.2.2.2"), oldSvc: makeSvc("1.1.1.1"), fail: true, }, { name: "update: erase externalIPs", newSvc: makeSvc(), oldSvc: makeSvc("1.1.1.1", "2.2.2.2"), }, { name: "update: reduce externalIPs from back", newSvc: makeSvc("1.1.1.1"), oldSvc: makeSvc("1.1.1.1", "2.2.2.2"), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 14 05:36:44 UTC 2021 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc
for (auto result : llvm::zip(graph.getResults(), graph.GetFetch().getFetches())) std::get<0>(result).replaceAllUsesWith(std::get<1>(result)); graph.erase(); return success(); } void ExecutorDialectToFunctionalConversion::runOnOperation() { auto result = getOperation().walk([](tf_executor::GraphOp graph) { if (failed(LiftIslandOpInnerOpsFromGraph(graph)))
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir
// CHECK-NEXT: "tf.AssignVariableOp"(%[[VAR]], %[[IDENTITY]]) } // ----- // If something other than `tf.VarHandleOp` is being initialized, it is // not erased. // CHECK-LABEL: module module attributes {tf_saved_model.semantics} { "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> () // CHECK: "tf_saved_model.session_initializer"()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 6.2K bytes - Viewed (0) -
pilot/pkg/config/monitor/monitor_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/kube/krt/filter.go
func FilterIndex[I any, K comparable](idx *Index[I, K], k K) FetchOption { return func(h *dependency) { // Index is used to pre-filter on the List, and also to match in Matches. Provide type-erased methods for both h.filter.listFromIndex = func() any { return idx.Lookup(k) } h.filter.indexMatches = func(a any) bool { return idx.objectHasKey(a.(I), k) } } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc
op_builder->create<mhlo::BroadcastInDimOp>( const_op->getLoc(), splat_elements_attr.getType(), scalar, broadcast_dims); const_op->replaceAllUsesWith(broadcast_in_dim_op); const_op->erase(); } }; } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateUnfoldSplatConstantPass() { return std::make_unique<UnfoldSplatConstantPass>(); }
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/jit/test_util.cc
PartialTensorShapeUtils::PartialShapeListString(it->second), ", actual: ", PartialTensorShapeUtils::PartialShapeListString(shapes)); } expected_shapes.erase(it); } } if (!expected_shapes.empty()) { std::vector<string> missing; missing.reserve(expected_shapes.size()); for (const auto& entry : expected_shapes) { missing.push_back(entry.first);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 11:36:41 UTC 2024 - 3.7K bytes - Viewed (0)