- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,825 for Auto (0.2 sec)
-
tensorflow/c/eager/c_api_experimental_reader_test.cc
TEST(CAPI, MonitoringCellReader0) { auto counter_name = "test/counter0"; auto* counter = CreateCounter0(counter_name); auto* reader = TFE_MonitoringNewCounterReader(counter_name); IncrementCounter0(counter); int64_t actual = TFE_MonitoringReadCounter0(reader); CHECK_EQ(actual, 1); } TEST(CAPI, MonitoringCellReader1) { auto counter_name = "test/counter1"; auto label_name = "test/label";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 20 03:14:47 UTC 2023 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
auto elem_type = filter_type.getElementType(); auto bias_dim = static_cast<const ConcreteType *>(this)->getBiasDim( filter_type.getShape()); auto bias_type = tensorflow::GetTypeFromTFTensorShape({bias_dim}, elem_type); auto bias_attr = rewriter.getZeroAttr(bias_type); auto bias =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
llvm::BitVector& erase_indices) { auto terminator = func.front().getTerminator(); int num_operands = terminator->getNumOperands(); erase_indices.resize(num_operands); for (auto arg_index : arguments_to_erase) { auto argument = func.getArgument(arg_index); for (auto& use : argument.getUses()) { if (llvm::isa<func::ReturnOp, TF::YieldOp>(use.getOwner())) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.4K bytes - Viewed (0) -
tensorflow/cc/training/queue_runner_test.cc
} GraphDef BuildDoubleQueueGraph() { Scope root = Scope::NewRootScope(); auto q0 = FIFOQueue(root.WithOpName(kQueueName0), {DataType::DT_INT32}); auto ten = Const(root, 10); auto enqueue0 = QueueEnqueue(root.WithOpName(kEnqueueOp0), q0, {ten}); auto close0 = QueueClose(root.WithOpName(kCloseOp0), q0); auto cancel0 = QueueClose(root.WithOpName(kCancelOp0), q0,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Sep 21 06:27:51 UTC 2019 - 14.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
auto tf_matmul_op = cast<TF::MatMulOp>(op); auto lhs = op->getOperand(0); auto rhs = op->getOperand(1); auto transpose = [&](Value input) -> std::pair<LogicalResult, Value> { RankedTensorType type = mlir::dyn_cast_or_null<RankedTensorType>(input.getType()); if (!type || type.getRank() != 2) return {failure(), nullptr}; auto permute_attr = DenseIntElementsAttr::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/numerical_utils_test.cc
} TEST(NumericalUtils, ActivationRange) { // zero point = 0 auto a = CalculateQuantizedRange(1e-6, 0, std::nullopt, std::nullopt, -128, 127); ASSERT_EQ(a.first, -128); ASSERT_EQ(a.second, 127); auto b = CalculateQuantizedRange(1e-6, 0, 0.0, std::nullopt, -128, 127); ASSERT_EQ(b.first, 0); ASSERT_EQ(b.second, 127); auto c = CalculateQuantizedRange(1e-6, 0, -1.0, 1.0, -128, 127);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc
for (auto& bb : fn) { for (auto& inst : bb) { auto attr_id = mlir::StringAttr::get(context, "value"); if (auto attr = inst.getAttrOfType<mlir::ElementsAttr>(attr_id)) { mlir::Attribute rand_val; mlir::Type element_type = attr.getShapedType().getElementType(); if (mlir::isa<mlir::IntegerType>(element_type)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 11:51:44 UTC 2024 - 14.1K 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/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/jit/device_compiler_test.cc
std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); Scope scope = Scope::NewRootScope().ExitOnError(); auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0); auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1); auto c = ops::Add(scope.WithOpName("C"), a, b); auto d = ops::_Retval(scope.WithOpName("D"), c, 0); TF_RETURN_IF_ERROR(scope.ToGraph(graph.get())); return graph; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 19.8K bytes - Viewed (0)