- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 3,615 for Reserve (0.19 sec)
-
pkg/scheduler/framework/runtime/framework.go
f.metricsRecorder.ObservePluginDurationAsync(metrics.Reserve, pl.Name(), status.Code().String(), metrics.SinceInSeconds(startTime)) return status } // RunReservePluginsUnreserve runs the Unreserve method in the set of // configured reserve plugins. func (f *frameworkImpl) RunReservePluginsUnreserve(ctx context.Context, state *framework.CycleState, pod *v1.Pod, nodeName string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 60.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_island_coarsening.cc
llvm::SmallVector<Value, 4> data_fetches; llvm::SmallVector<Type, 4> data_types; llvm::SmallVector<Value, 4> control_fetches; data_fetches.reserve(fetch.getFetches().size()); data_types.reserve(data_fetches.capacity()); control_fetches.reserve(data_fetches.capacity()); for (auto value : fetch.getFetches()) { if (mlir::isa<ControlType>(value.getType())) { control_fetches.push_back(value);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc
mlir::FunctionType func_type = main_func.getFunctionType(); outputs->clear(); outputs->reserve(func_type.getNumResults()); resource_updates->clear(); resource_updates->reserve(func_type.getNumResults()); std::vector<xla::Shape> shapes; shapes.reserve(func_type.getNumResults()); llvm::SmallDenseMap<unsigned, unsigned> output_to_input_alias;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 45.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc
std::vector<int32_t> rhs_transpose; std::vector<int32_t> out_transpose; lhs_transpose.reserve(dnums.lhs_rhs_out.size() + dnums.lhs_out.size() + dnums.lhs_rhs.size()); rhs_transpose.reserve(dnums.lhs_rhs_out.size() + dnums.rhs_out.size() + dnums.lhs_rhs.size()); out_transpose.reserve(dnums.lhs_rhs_out.size() + dnums.lhs_out.size() + dnums.rhs_out.size());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
llvm::SmallVector<Value, 8> new_packed_inputs; llvm::SmallVector<llvm::SmallVector<Value, 8>, 8> replicated_inputs; replicated_inputs.reserve(replicate.GetNumReplicatedBlockArguments()); new_packed_inputs.reserve(replicate.GetNumPackedBlockArguments()); for (const auto& arg : replicate.GetReplicatedBlockArguments()) { replicated_inputs.emplace_back();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.9K bytes - Viewed (0) -
pkg/scheduler/framework/interface.go
type ReservePlugin interface { Plugin // Reserve is called by the scheduling framework when the scheduler cache is // updated. If this method returns a failed Status, the scheduler will call // the Unreserve method for all enabled ReservePlugins. Reserve(ctx context.Context, state *CycleState, p *v1.Pod, nodeName string) *Status // Unreserve is called by the scheduling framework when a reserved pod was
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 35.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_type.cc
llvm::SmallVectorImpl<int64_t>* shape) { shape->reserve(input_shape.dims()); for (const auto& d : input_shape) { shape->push_back(d.size == kTFDynamicSize ? ShapedType::kDynamic : d.size); } } Status ConvertToMlirShape(const TensorShapeProto& input_shape, llvm::SmallVectorImpl<int64_t>* shape) { shape->reserve(input_shape.dim_size()); auto& dims = input_shape.dim();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info_util.cc
const std::set<int>* variables_updated, std::vector<VariableInfo>* result) { result->clear(); result->reserve(variable_indices.size()); for (int var_idx : variable_indices) { Var* variable = nullptr; if (inputs[var_idx]->NumElements() == 0) { return errors::InvalidArgument("Empty resource tensor passed at index ",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc
if (!session) return module.emitOpError() << "no session provided"; // Read all resource variables from the session. std::vector<std::string> variable_names; variable_names.reserve(resource_names.size()); for (StringRef name : resource_names) variable_names.push_back(name.str()); std::vector<Tensor> resource_tensors; Status status = session->Run( /*inputs=*/{}, variable_names,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/scheduler/framework/runtime/framework_test.go
return tmpPl, nil }); err != nil { t.Fatalf("Unable to register pre bind plugins: %s", pl.name) } configPlugins.Reserve.Enabled = append( configPlugins.Reserve.Enabled, config.Plugin{Name: pl.name}, ) } profile := config.KubeSchedulerProfile{Plugins: configPlugins} ctx, cancel := context.WithCancel(context.Background())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 17 09:07:27 UTC 2024 - 103K bytes - Viewed (0)