- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 178 for pushBack (0.49 sec)
-
tensorflow/cc/gradients/functional_grad.cc
for (int i = 0; i < num_inputs; i++) { func_inputs.push_back(op.input(i)); input_dtypes.push_back(op.input_type(i)); } func_inputs.insert(std::end(func_inputs), std::begin(grad_inputs), std::end(grad_inputs)); auto grad = SymbolicGradient(scope, func_inputs, input_dtypes, f); for (int i = 0; i < num_inputs; i++) { grad_outputs->push_back(grad[i]); } return scope.status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 15 20:09:06 UTC 2021 - 2.1K 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/c/experimental/saved_model/core/test_utils.cc
result.reserve(set.size()); for (DataType dt : set) { result.push_back(dt); } return result; } std::vector<std::vector<int64_t>> InterestingShapes() { std::vector<std::vector<int64_t>> interesting_shapes; interesting_shapes.push_back({}); // Scalar interesting_shapes.push_back({10}); // 1D Vector interesting_shapes.push_back({3, 3}); // 2D Matrix
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Sep 08 20:13:32 UTC 2023 - 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/compiler/mlir/python/mlir_wrapper/basic_classes.cc
.def("front", &mlir::Region::front, py::return_value_policy::reference) .def("add_block", [](mlir::Region& r) { r.push_back(new mlir::Block); }) .def("push_back", &mlir::Region::push_back) .def("size", [](mlir::Region& r) { return r.getBlocks().size(); }) .def("front", &mlir::Region::front, py::return_value_policy::reference);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jan 22 04:26:07 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/topological_sort.cc
remaining_incoming_ctrl_edges[successor]--; if (remaining_incoming_ctrl_edges[successor] == 0 && remaining_incoming_data_edges[successor] == 0) { ready.push_back(successor); } } } result.push_back(best); } return result; } } // namespace TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 08 17:01:11 UTC 2022 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_structs.cc
#include <optional> namespace mlir { namespace TF { void RuntimeDevices::AddDevice(const ParsedName& device) { device_names_.push_back(device); } void RuntimeDevices::AddGpuDevice(const ParsedName& device, const GpuDeviceMetadata& metadata) { device_names_.push_back(device); gpu_metadata_.insert({DeviceNameUtils::ParsedNameToString(device), metadata}); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 20:41:19 UTC 2023 - 1.4K 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/tensorflow/transforms/group_by_dialect.cc
std::vector<Type> input_types; std::vector<Type> output_types; input_types.reserve(inputs.size()); for (Value v : inputs) { input_types.push_back(v.getType()); } output_types.reserve(outputs.size()); for (Value v : outputs) { output_types.push_back(v.getType()); } // Create the function. MLIRContext* context = ops[0]->getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 17 07:31:01 UTC 2023 - 8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.cc
const std::vector<std::string> indices = absl::StrSplit(node_specification, '-'); for (const std::string& cur_index : indices) { custom_op_map[node_name].quantizable_input_indices.push_back( std::stoi(cur_index)); } break; } case CustomOpUpdateOptions::kWeightOnly: custom_op_map[node_name].is_weight_only = GetBooleanSpecs(node_specification);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 5.9K bytes - Viewed (0)