Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 121 for func_0 (0.24 sec)

  1. src/internal/coverage/test/roundtrip_test.go

    	}
    
    	funcs := createFuncs(i)
    	for _, f := range funcs {
    		b.AddFunc(f)
    	}
    	drws := &slicewriter.WriteSeeker{}
    	b.Emit(drws)
    	return drws.BytesWritten()
    }
    
    func createMetaDataBlobs(t *testing.T, nb int) [][]byte {
    	res := [][]byte{}
    	for i := 0; i < nb; i++ {
    		res = append(res, createBlob(t, i))
    	}
    	return res
    }
    
    func TestMetaDataWriterReader(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 21:42:05 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc

      ModuleOp module = getOperation();
      auto& side_effect_analysis = getAnalysis<TF::SideEffectAnalysis>();
      SmallVector<func::FuncOp> funcs(module.getOps<func::FuncOp>());
      int func_count = -1;
      for (auto func : funcs) {
        const auto& info = side_effect_analysis.GetAnalysisForFunc(func);
        for (auto& block : func) {
          OpBuilder builder = OpBuilder::atBlockBegin(&block);
          RaiseTargetSubgraphsForBlock(block, builder, module,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
        "func.return"(%arg0) : (tensor<i32>) -> ()
      }) {sym_name = "main_while_body_4225150", sym_visibility = "private", tf._input_shapes = [#tf_type.shape<>], tf.signature.is_stateful, function_type = (tensor<i32>) -> (tensor<i32>)} : () -> ()
      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/security/first-steps.md

    ```Python hl_lines="10"
    {!../../../docs_src/security/tutorial001.py!}
    ```
    
    Esse dependência vai fornecer uma `str` que é atribuído ao parâmetro `token da *função do path operation*
    
    A **FastAPI** saberá que pode usar essa dependência para definir um "esquema de segurança" no esquema da OpenAPI (e na documentação da API automática).
    
    !!! info "Detalhes técnicos"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

        and use the standardized MLIR `sym_name` attribute to hold it.
    
        This dialect annotates func ops with two argument attributes
        `tf_saved_model.index_path` and `tf_saved_model.bound_input` in order to
        model the calling API of a function with SavedModel semantics.
        In particular, func's in SavedModel are called with a structured value, and
        return a structured value. A structured value consists of arbitrarily nested
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/quantization_context.h

        // results and arguments.
        llvm::DenseMap<OpValue, int> operand_states_;
        llvm::DenseMap<OpValue, int> result_states_;
      };
    
      func::FuncOp func_;
    
      DeviceTarget target_spec_;
    
      StatesManager states_manager_;
    };
    
    }  // namespace quant
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        // Insert a call to the reducer in the region of the mhlo op.
        mlir::SymbolRefAttr func = op.getComputation();
        auto func_op = cast<mlir::func::FuncOp>(SymbolTable::lookupSymbolIn(
            op->getParentOfType<mlir::ModuleOp>(), func));
        auto func_ty = func_op.getFunctionType();
        BuildBodyWithCall(rewriter, loc, func, func_ty,
                          &reduce_window_op.getBody());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      // Quantizer via the tf_quant.composite_function UnitAttr attached to
      // func ops. We remove this attribute as this interferes with VHLO conversion.
      // Remove this temporary hack.
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        func_op->removeAttr(kFusedFunctionAttr);
      }
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-input-func-arg-name-collision.pbtxt

    # This check that we don't error out when importing GraphDef containing
    # functions with arg name that are the same as the graph input name
    
    # CHECK: func @main(%arg0: tensor<{{.*}}i32>) -> tensor<{{.*}}i32>
    # CHECK: func private @while_body
    # CHECK: func private @while_cond
    
    node {
      name: "input"
      op: "Placeholder"
      attr {
        key: "_user_specified_name"
        value {
          s: "input"
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.h

    // `ExtractSubgraphToFunc` adds exactly two "new" `Operations`, a FuncOp and
    // a CallOp. Pass these back to the caller for setting more specific attributes
    // after graph mutation has taken place.
    struct OpsAdded {
      mlir::func::FuncOp func_op;
      mlir::func::CallOp call_op;
    };
    
    // Given a `Subgraph` containing a sequence of adjacent `Operations` from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 17 18:49:43 UTC 2022
    - 6K bytes
    - Viewed (0)
Back to top