- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 77 for func_0 (0.09 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/mark_functions_noinline.cc
const StringSet<> noinline_functions = GetNoinlineFunctionsSet(); func::FuncOp func_op = getOperation(); Builder builder(&getContext()); // Adds the `tf._noinline = true` attribute to the function if the name // matches. if (noinline_functions.contains(func_op.getSymName())) { func_op->setAttr(kTfNoinlineAttr, builder.getBoolAttr(true)); LLVM_DEBUG(llvm::dbgs()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 18 02:52:57 UTC 2023 - 4.5K bytes - Viewed (0) -
docs/pt/docs/tutorial/first-steps.md
### Passo 4: defina uma **função de rota** Esta é a nossa "**função de rota**": * **rota**: é `/`. * **operação**: é `get`. * **função**: é a função abaixo do "decorador" (abaixo do `@app.get("/")`). ```Python hl_lines="7" {!../../../docs_src/first_steps/tutorial001.py!} ``` Esta é uma função Python.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 9.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/func.h
#define TENSORFLOW_COMPILER_MLIR_QUANTIZATION_COMMON_FUNC_H_ #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project #include "mlir/IR/BuiltinOps.h" // from @llvm-project namespace mlir::quant { // Returns a public `func::FuncOp` in `module_op` whose name matches either // `main` or `serving_default`. If `func::FuncOps` with both names exist, the // function with name "main" takes precedence. Returns null if no such a
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 19 06:55:11 UTC 2024 - 1.3K bytes - Viewed (0) -
src/internal/abi/symtab.go
FuncFlagAsm ) // A FuncID identifies particular functions that need to be treated // specially by the runtime. // Note that in some situations involving plugins, there may be multiple // copies of a particular special runtime function. type FuncID uint8 const ( // If you add a FuncID, you probably also want to add an entry to the map in // ../../cmd/internal/objabi/funcid.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 14:25:22 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_saved_model_assets.cc
for (auto func : module.getOps<func::FuncOp>()) { llvm::BitVector args_to_erase(func.getNumArguments()); OpBuilder builder(func.getBody()); for (int i = 0, e = func.getNumArguments(); i < e; ++i) { SmallVector<TF::InitializeTableFromTextFileV2Op, 4> init_table_from_text_file_ops_to_erase; auto asset = LookupBoundInputOfType<AssetOp>(func, i, symbol_table);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jan 30 01:12:09 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 725 bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.h
private: TFSignatureDefFunction(std::unique_ptr<FlatTensorFunction> func, SignatureDefFunctionMetadata metadata); TFSignatureDefFunction(const TFSignatureDefFunction&) = delete; TFSignatureDefFunction& operator=(const TFSignatureDefFunction&) = delete; std::unique_ptr<FlatTensorFunction> func_; SignatureDefFunctionMetadata metadata_; }; } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 19:43:25 UTC 2022 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/canonicalize_compile_and_replicate_attributes.cc
void runOnOperation() override; }; void CanonicalizeCompileAndReplicateAttributesPass::runOnOperation() { func::FuncOp func_op = getOperation(); ModuleOp module_op = func_op->getParentOfType<ModuleOp>(); mlir::OpBuilder builder(module_op.getContext()); auto walk_result = func_op->walk([&](mlir::Operation* op) { // Convert `_tpu_replicate`. if (op->hasAttr(TF::kTpuReplicateAttr)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc
tensor_type, SmallVector<StringRef>(str_values.begin(), str_values.end()))); } // Creates a new argument for `func_op` that accepts a string tensor containing // the checkpoint file's prefix. BlockArgument InsertFilePrefixArgument(func::FuncOp func_op, OpBuilder& builder) { const auto filename_op_type = RankedTensorType::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Mar 12 06:02:20 UTC 2023 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass.cc
public: void runOnOperation() override; }; void InferenceMetricsPass::runOnOperation() { bool has_tpu_partitioned_call = false; ModuleOp module = getOperation(); for (auto func_op : module.getOps<func::FuncOp>()) { func_op->walk( [&](TF::TPUPartitionedCallOp op) { has_tpu_partitioned_call = true; }); if (has_tpu_partitioned_call) break; } std::string has_tpu_partitioned_call_str =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 05 21:24:51 UTC 2023 - 2.3K bytes - Viewed (0)