- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,600 for Auto (0.05 sec)
-
tensorflow/cc/experimental/libtf/runtime/runtime.cc
const SavedObjectGraph object_graph = tf_package->GetObjectGraph(); auto& nodes = object_graph.nodes(); // Get a map of the concrete functions to their input / output signatures. auto& concrete_functions = object_graph.concrete_functions(); auto& root = nodes.at(0); for (auto& child : root.children()) { // The child's name describes the name of the edge that connects to the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 7.4K bytes - Viewed (0) -
tensorflow/cc/client/client_session_test.cc
int num_threads = 3; TensorShape data_shape({1, 1}); auto a = Placeholder(root, DT_INT32, Placeholder::Shape(data_shape)); auto b = Placeholder(root, DT_INT32, Placeholder::Shape(data_shape)); auto c = BatchMatMul(root, a, b); ClientSession session(root); std::vector<Tensor> outputs; auto inter_op_threadpool = absl::make_unique<CustomThreadPoolImpl>(num_threads);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
} auto top_k_attr = backend_config.getAs<IntegerAttr>("top_k"); auto reduction_dim_attr = backend_config.getAs<IntegerAttr>("reduction_dim"); auto recall_target_attr = backend_config.getAs<FloatAttr>("recall_target"); auto aggregate_to_topk_attr = backend_config.getAs<BoolAttr>("aggregate_to_topk"); auto reduction_input_size_override_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc
devices.reserve(device_map.size()); for (auto it : device_map) { auto device_alias = it.getName().strref(); auto device_list = mlir::cast<ArrayAttr>(it.getValue()); llvm::SmallVector<StringRef, 4> device_list_for_alias; device_list_for_alias.reserve(device_list.size()); for (auto device : device_list) device_list_for_alias.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) -
tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc
// Sink down constants into the functions. for (auto extern_value : region_extern_values) { if (!matchPattern(extern_value, m_Constant())) { extern_values.insert(extern_value); continue; } // Add constant at start of region. auto const_builder = OpBuilder::atBlockBegin(®ion->front()); auto const_value = const_builder.clone(*extern_value.getDefiningOp());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc
PatternRewriter& rewriter) { int64_t shape_rank = shape.size(); auto shape_spec_type = RankedTensorType::get({shape_rank}, rewriter.getIntegerType(64)); Type resultType = RankedTensorType::get(shape, element_type); auto constant_attr = DenseElementsAttr::get(shape_spec_type, shape); auto shape_tensor = rewriter.create<TF::ConstOp>(loc, shape_spec_type, constant_attr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
const auto mins = dyn_cast<DenseFPElementsAttr>(min); const auto maxs = dyn_cast<DenseFPElementsAttr>(max); if (mins && maxs) { min_value.reserve(mins.getNumElements()); max_value.reserve(maxs.getNumElements()); for (auto it = mins.begin(); it != mins.end(); ++it) { min_value.push_back(FloatAttr::getValueAsDouble(*it)); } for (auto it = maxs.begin(); it != maxs.end(); ++it) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc
} bool checkWhetherGraphHasValidStaticLookupTables(ModuleOp module) { auto hashtables = GetAllOps<TF::HashTableV2Op>(&module); // No needs to run the legalization patterns. if (hashtables.empty()) { return false; } for (auto hashtable : hashtables) { auto key_dtype = hashtable.getKeyDtype(); auto value_dtype = hashtable.getValueDtype();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.cc
return false; } } // namespace bool TargetHardware::Init() { auto* hardware_ops_factory = GetRegisteredTargetHardwareOps(); for (auto& hardware_ops : *hardware_ops_factory) { if (hardware_ops->hardware_typeid != this->GetTypeId()) continue; auto& op_factories = hardware_ops->target_hardware_ops_factory; for (auto& op_factory : op_factories) { hardware_ops_.emplace_back(op_factory.getSecond()()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 21:39:59 UTC 2023 - 9.9K bytes - Viewed (0)