- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 348 for nFront (0.18 sec)
-
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
ASSERT_TRUE(module_op); ASSERT_FALSE(module_op->getBodyRegion().empty()); ASSERT_FALSE(module_op->getBodyRegion().front().empty()); auto constant_op = dyn_cast_or_null<mlir::stablehlo::ConstantOp>( module_op->getBodyRegion().front().front()); ASSERT_THAT(constant_op, NotNull()); EXPECT_TRUE(HasRankOf(constant_op, /*rank=*/4)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
device_cluster, &if_op.getThenBranch().front(), {host_if.getThenBranch().front().getTerminator()}, core_to_compilation_key, core_to_device_ordinal, /*control_above=*/true, is_map_oc, communication_key_index))) return WalkResult::interrupt(); if (failed(MoveToHostMultiCluster( device_cluster, &if_op.getElseBranch().front(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/op_view.cc
ArgView OpView::OnlyInput() const { CHECK_EQ(input_args_.size(), 1); // Crash OK return input_args_.front(); } ArgView OpView::OnlyOutput() const { CHECK_EQ(output_args_.size(), 1); // Crash OK return output_args_.front(); } string OpView::FunctionName() const { return op_.name(); } string OpView::OpNameString() const { return Quoted(op_.name()); }
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/transforms/materialize_mlir_passthrough_op.cc
if (!llvm::hasSingleElement(body)) { op->emitError() << "MLIR Opaque Op expects a main() entry point with a " "single block\n"; return; } Block &block = body.front(); for (const auto &arg_mapping : llvm::zip(block.getArguments(), op->getOperands())) { std::get<0>(arg_mapping).replaceAllUsesWith(std::get<1>(arg_mapping)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
} auto element_type = getElementTypeOrSelf(first_operand_type); if (mlir::isa<TF::ResourceType>(element_type)) { first_operand_type = mlir::cast<TF::ResourceType>(element_type).getSubtypes().front(); } auto tensor_type = mlir::dyn_cast_or_null<TensorType>(first_operand_type); if (!(tensor_type && tensor_type.hasRank())) { return op->emitError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
// Add terminator of tf_executor::graph rewriter.setInsertionPointToEnd(&executor_graph.getBody().front()); rewriter.create<tf_executor::FetchOp>(loc); // Add terminator of func rewriter.setInsertionPointToEnd(&func.getBody().front()); rewriter.create<func::ReturnOp>(loc); rewriter.replaceOp(graph.getOperation(), func.getOperation()->getResults());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/hoist_broadcast_read.cc
// CPU. LogicalResult IsCpuRead(FuncOp func, ReadVariableOp read, bool& is_cpu_read) { if (auto arg = mlir::dyn_cast<BlockArgument>(read->getOperand(0))) { if (arg.getOwner() != &(func.front())) { is_cpu_read = false; return success(); } if (auto attr = func.getArgAttrOfType<StringAttr>(arg.getArgNumber(), kFuncDeviceAttr)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/quantization_context.cc
if (!immutable_states.empty()) return immutable_states.front()->params; // If there are no immutable states, use the operand's state if it is the // only one operand and has parameters propagated. if (op->getNumOperands() == 1 && mutable_operands_num == 1) { return mutable_states.front()->params; } // If there are no immutable states, use the result's state if it is the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 08 01:38:03 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc
LogicalResult UnwrapTFCustomOps(func::FuncOp fn, OpBuilder& builder) { llvm::SmallVector<Operation*, 4> wrapped_ops; fn.walk([&](TFL::CustomTfOp custom_op) { auto* real_op = &custom_op.getBody().front().front(); wrapped_ops.push_back(real_op); }); for (auto* op : wrapped_ops) { auto parent_op = op->getParentOfType<TFL::CustomTfOp>(); if (!parent_op) continue; builder.setInsertionPoint(parent_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 03 00:14:05 UTC 2023 - 4.3K bytes - Viewed (0) -
docs/fr/docs/tutorial/query-params.md
``` http://127.0.0.1:8000/items/?skip=0&limit=10 ``` Mais si vous accédez à, par exemple : ``` http://127.0.0.1:8000/items/?skip=20 ``` Les valeurs des paramètres de votre fonction seront : * `skip=20` : car c'est la valeur déclarée dans l'URL. * `limit=10` : car `limit` n'a pas été déclaré dans l'URL, et que la valeur par défaut était `10`. ## Paramètres optionnels
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Sep 27 20:52:31 UTC 2023 - 5.8K bytes - Viewed (0)