- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for pushBack (0.16 sec)
-
pkg/scheduler/internal/queue/scheduling_queue.go
} pInfo := obj.(*framework.QueuedPodInfo) pInfo.Attempts++ p.schedulingCycle++ // In flight, no concurrent events yet. if p.isSchedulingQueueHintEnabled { p.inFlightPods[pInfo.Pod.UID] = p.inFlightEvents.PushBack(pInfo.Pod) } // Update metrics and reset the set of unschedulable plugins for the next attempt. for plugin := range pInfo.UnschedulablePlugins.Union(pInfo.PendingPlugins) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 61.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter.cc
if (!main_fn) return std::string(""); flatbuffers::FlatBufferBuilder fb_builder; std::vector<mlir::func::FuncOp> funcs; funcs.push_back(main_fn); module.walk([&](mlir::func::FuncOp fn) { if (fn != main_fn) { funcs.push_back(fn); } }); // Populate the hardware metadata. // And collect the hardwares used. std::map<std::string, uint8_t> hardware_map;
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/tf2xla/transforms/legalize_tf.cc
int64_t size = padding_low[i] + shape[i] + (shape[i] - 1) * padding_interm[i]; padding_high.push_back(input_dim - size); } else { dims_to_reverse.push_back(i); padding_high.push_back(input_dim - begin_indices[i] - 1); padding_interm.push_back(-strides[i] - 1); // Pad the lower dimension up to the expected input shape. int64_t size =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/sparsity/sparsify_model_test.cc
std::vector<uint8_t>(expected_value.begin(), expected_value.end()); input_model.buffers.push_back(std::move(model_metadata_buffer)); auto metadata_t = std::make_unique<tflite::MetadataT>(); metadata_t->name = tflite::optimize::kTfLiteReducedPrecisionKey; metadata_t->buffer = input_model.buffers.size() - 1; input_model.metadata.push_back(std::move(metadata_t)); // Sparsify and create output model
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:16:40 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
if (!buffer_or) return false; buffers_.push_back(*buffer_or); } else { buffers_.push_back(empty_buffer_); } auto tensor_or = BuildTensor(value, tensor_name, buffer_index, quant_parameters); if (!tensor_or) return false; tensors.push_back(*tensor_or); return true; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// resized. if (resized_tensor_list_index.count(i)) { updated_types->push_back( VariantToUnrankedTensorType(std::get<0>(it), std::get<1>(it))); } else { updated_types->push_back(std::get<2>(it).getType()); } } else { updated_types->push_back(std::get<0>(it)); } ++i; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
window_dimensions_vec.push_back( window_dimensions.getValues<IntegerAttr>()[i].getInt()); } for (auto i = 0; i < window_strides.size(); ++i) { window_strides_vec.push_back( window_strides.getValues<IntegerAttr>()[i].getInt()); } for (auto i = 0; i < base_dilations.size(); ++i) { base_dilations_vec.push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
llvm::SmallVector<ParsedDevice, 8> matching_devices; for (const auto& device : devices) if (DeviceNameUtils::IsCompleteSpecification(spec, device)) matching_devices.push_back(device); return matching_devices; } // Create error message for a conflicting attribute of a device. template <typename T> absl::Status MismatchedTPUSystemAttributeErr(absl::string_view attribute, T a,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
// reduction sent to each replica is over all replicas. uint32_t num_replicas = replicate.getN(); llvm::SmallVector<int32_t, 4> group_assignment_val; for (int i = 0; i < num_replicas; ++i) group_assignment_val.push_back(i); Value group_assignment = builder.create<ConstOp>( block_arg.getLoc(), DenseIntElementsAttr::get( RankedTensorType::get({1, num_replicas}, builder.getIntegerType(32)),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
std::vector<Type> argument_types; for (auto arg : f.getBody().front().getArguments()) { argument_types.push_back(arg.getType()); } std::vector<Type> return_types; for (auto ret_op : ret->getOperands()) { return_types.push_back(ret_op.getType()); } auto newType = FunctionType::get(rewriter.getContext(), argument_types, return_types);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0)