Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 234 for eraseOp (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top