- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 76 for pushBack (0.16 sec)
-
src/cmd/vendor/golang.org/x/sync/semaphore/semaphore.go
// Don't make other Acquire calls block on one that's doomed to fail. s.mu.Unlock() <-done return ctx.Err() } ready := make(chan struct{}) w := waiter{n: n, ready: ready} elem := s.waiters.PushBack(w) s.mu.Unlock() select { case <-done: s.mu.Lock() select { case <-ready: // Acquired the semaphore after we were canceled. // Pretend we didn't and put the tokens back. s.cur -= n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc
// Initialize function arguments all_arguments_.push_back(OpArgumentView("AbstractContext*", "ctx")); for (const auto& arg : op_.Inputs()) { all_arguments_.push_back(OpArgumentView(arg)); } for (const auto& arg : op_.Outputs()) { all_arguments_.push_back(OpArgumentView(arg)); } for (const auto& attr : op.Attributes()) { all_arguments_.push_back(OpArgumentView(attr)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 03 07:02:00 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc
for (const auto& item : value.list().i()) attrs.push_back(builder->getI64IntegerAttr(item)); for (const auto& item : value.list().s()) attrs.push_back(builder->getStringAttr(item)); for (const auto& item : value.list().f()) attrs.push_back(builder->getFloatAttr(builder->getF32Type(), item)); for (const auto& item : value.list().b()) attrs.push_back(builder->getBoolAttr(item));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc
llvm::SmallVector<mlir::Type, 4> operand_types; if (options.has_chain) operand_types.push_back(chain_type); if (parser.resolveOperands(in_chains, operand_types, loc, result.operands) || parser.resolveOperands(operands, tensor_type, result.operands)) return mlir::failure(); if (options.has_chain) result.types.push_back(chain_type); result.types.append(num_results, tensor_type);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/saved_model/saved_model.cc
func.getArgAttrOfType<mlir::StringAttr>(i, "tf.device")) { input_devices.push_back(input_device.getValue()); } else { input_devices.push_back(""); } } if (auto* bound_input = mlir::tf_saved_model::LookupBoundInput(func, i, symbol_table)) { bound_inputs.push_back(bound_input); } } llvm::SmallVector<llvm::StringRef, 4> output_names;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc
auto newTy = QuantizedType::castToExpressedType(operand.getType()); newOperands.push_back( rewriter.create<TFL::DequantizeOp>(loc, newTy, operand)); continue; } newOperands.push_back(operand); } SmallVector<Type> newResultTys; for (auto result : op->getResults()) { Type resultTy = result.getType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_calibration_statistics_saver.cc
if (aggregator_ops_to_ignore.count(op.getId().str())) continue; ids.push_back(op.getId()); calibration_methods.push_back(op.getCalibrationMethod()); statistics_outputs.push_back(op.getMin()); statistics_outputs.push_back(op.getMax()); statistics_outputs.push_back(op.getHistogram()); } } // Inserts a `CalibrationStatisticsSaverOp` to the end of the region.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/case_format.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3K 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/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
func_operand_types.reserve(operands.size()); for (Value operand : operands) func_operand_types.push_back(operand.getType()); // Function results are the yield operands SmallVector<Type, 16> func_result_types; for (Value operand : island_op.GetYield().getOperands()) func_result_types.push_back(operand.getType()); FunctionType func_type =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0)