Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 93 for func_0 (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. docs/pt/docs/python-types.md

    Em algum momento você teria iniciado a definição da função, já tinha os parâmetros prontos ...
    
    Mas então você deve chamar "esse método que converte a primeira letra em maiúscula".
    
    Era `upper`? Era `uppercase`? `first_uppercase`? `capitalize`?
    
    Em seguida, tente com o velho amigo do programador, o preenchimento automático do editor.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-params.md

    # Parâmetros de Consulta
    
    Quando você declara outros parâmetros na função que não fazem parte dos parâmetros da rota, esses parâmetros são automaticamente interpretados como parâmetros de "consulta".
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params/tutorial001.py!}
    ```
    
    A consulta é o conjunto de pares chave-valor que vai depois de `?` na URL, separado pelo caractere `&`.
    
    Por exemplo, na URL:
    
    ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args.cc

    // Returns a list of "tf.entry_function" attribute's "inputs" comma-split
    // values.
    //
    // Example: if `func_op` has attribute `tf.entry_function = {inputs =
    // "arg0:0,arg1:0"}`, then this function returns `{"arg0:0", "arg1:0"}`.
    SmallVector<StringRef> GetEntryFunctionInputs(func::FuncOp func_op) {
      auto entry_function_attr =
          func_op->getAttrOfType<DictionaryAttr>("tf.entry_function");
    
      SmallVector<StringRef> inputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

      auto func_op = module_op->lookupSymbol<func::FuncOp>("unknown_rank_arg");
      ASSERT_THAT(func_op, NotNull());
      ASSERT_THAT(func_op.getNumArguments(), Eq(1));
    
      EXPECT_FALSE(HasRankOf(func_op.getArgument(0), /*rank=*/1));
    }
    
    TEST_F(AttrsAndConstraintsTest, TryCastSucceeds) {
      OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kModuleStatic);
      ASSERT_TRUE(module_op);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top