Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 107 for eraseOp (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/convert_launch_func_to_tf_call.cc

            /*executor_type=*/builder.getStringAttr(""));
        call_op->setAttr("device", launch->getAttrOfType<StringAttr>("device"));
        launch.replaceAllUsesWith(call_op);
        launch.erase();
      });
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateConvertLaunchFuncToTFCallPass() {
      return std::make_unique<ConvertLaunchFuncToTFCallPass>();
    }
    
    }  // namespace TFDevice
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 21:08:09 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

            auto new_op = builder.create<TFR::CastOp>(
                returned_op->getLoc(), new_type, returned_op.getArg());
            returned_value.set(new_op.getResult());
            if (returned_op.use_empty()) {
              returned_op.erase();
            }
          } else {
            returned_value.get().getDefiningOp()->emitError(
                "The producer of quantized type result should be a tfr.cast op.");
            return;
          }
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. pilot/pkg/config/monitor/monitor_test.go

    	// nil data return and error return keeps the existing data aka createConfigSet
    	<-delay
    	g.Eventually(func() error {
    		c := store.List(gvk.Gateway, "")
    
    		if len(c) != 1 {
    			return errors.New("config files erased on Copilot error")
    		}
    
    		return nil
    	}).Should(Succeed())
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

          //   }
          // clang-format on
          for (auto attr : session_initializer.getInitializers()) {
            auto sym_attr = mlir::dyn_cast<FlatSymbolRefAttr>(attr);
            if (!sym_attr) break;
            entrypoints.erase(sym_attr.getValue());
          }
        }
    
        if (entrypoints.empty()) {
          return fail(module, "No entrypoints found");
        }
        if (entrypoints.size() == 1) {
          auto entrypoint = entrypoints.begin()->second;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. 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)
Back to top