Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 251 for funcPC (0.15 sec)

  1. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

          builder.getFunctionType(input_types, return_types);
    
      std::string function_name = absl::StrCat("func_", subgraph.subgraph_id_);
    
      func::FuncOp new_func = func::FuncOp::create(builder.getUnknownLoc(),
                                                   function_name, function_type);
      new_func.setVisibility(func::FuncOp::Visibility::Private);
      new_func.addEntryBlock();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/query-params-str-validations.md

    ```
    http://localhost:8000/items/?q=foo&q=bar
    ```
    
    você receberá os múltiplos *parâmetros de consulta* `q` com os valores (`foo` e `bar`) em uma lista (`list`) Python dentro da *função de operação de rota*, no *parâmetro da função* `q`.
    
    Assim, a resposta para essa URL seria:
    
    ```JSON
    {
      "q": [
        "foo",
        "bar"
      ]
    }
    ```
    
    !!! tip "Dica"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/trim_functions_tf.cc

      llvm::SetVector<func::FuncOp> reachable_funcs;
      for (auto func : getOperation().getOps<func::FuncOp>()) {
        auto walk_result = func.walk([&](func::CallOp op) -> WalkResult {
          if (!symbol_table.lookup<func::FuncOp>(op.getCallee()))
            return getOperation().emitError()
                   << func.getName() << " is not in the funcs allowlist";
          return WalkResult::advance();
        });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 07 21:08:41 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops.cc

      pm.addPass(mlir::createSymbolDCEPass());
      pm.addNestedPass<FuncOp>(
          mlir::TFDevice::CreateReplicateInvariantOpHoistingPass());
      pm.addNestedPass<FuncOp>(mlir::TFDevice::CreateEmbeddingProgramKeyPass());
      pm.addPass(mlir::TFTPU::CreateTPUMergeVariablesWithExecutePass());
      pm.addNestedPass<FuncOp>(
          mlir::TFTPU::CreateExtractTPUCopyWithDynamicShapeOpPass());
      pm.addNestedPass<FuncOp>(
          mlir::TFTPU::CreateTPUColocateCompositeResourceOps());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

        }
        // Move all functions from XlaCallModuleOp's stablehlo module, to parent
        // module. Also marks the stablehlo module entry function as private.
        func::FuncOp main_fn;
        for (auto func_op : stablehlo_module_op.get().getOps<func::FuncOp>()) {
          func::FuncOp cloned_func_op = func_op.clone();
          if (IsShloMainFuncOp(cloned_func_op)) {
            main_fn = cloned_func_op;
          }
          cloned_func_op.setSymVisibility(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc

    // function.
    bool ShouldIncludeInMainFunction(func::FuncOp func_op) {
      return !func_op.isPrivate() && IsExported(func_op) &&
             IsEntryFunction(func_op);
    }
    
    // Sets a function to be private so it can be referred internally.
    void SetFunctionPrivate(func::FuncOp func) {
      func.setVisibility(SymbolTable::Visibility::Private);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-func-attr.pbtxt

    # CHECK-LABEL:       func @main() {
    
    # Verify that the NameAttrList is properly turned into reference to functions on import
    # CHECK:    tf.Case
    # CHECK-SAME: branches = [@[[FOO:[a-z0-9]+]], @[[BAR:[a-z0-9]+]]]
    # CHECK-DAG:  func private @[[FOO]]()
    # CHECK-DAG:  func private @[[BAR]]()
    
    node {
      name: "predicate"
      op: "Const"
      attr {
        key: "dtype"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      }
    
      pm.addNestedPass<mlir::func::FuncOp>(mlir::TF::CreateLowerQuantizedPass());
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::quant::stablehlo::CreateConvertTFQuantTypesPass());
    
      if (lower_to_xla_hlo) {
        for (auto& target_pass : custom_legalization_passes) {
          pm.addNestedPass<mlir::func::FuncOp>(std::move(target_pass));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc

      temp_file.os().flush();
    
      // Replace filename constant ops to use the temporary file.
      MLIRContext* context = &getContext();
    
      for (func::FuncOp func : module.getOps<func::FuncOp>()) {
        llvm::SmallVector<arith::ConstantOp, 4> constant_ops(
            func.getOps<arith::ConstantOp>());
        for (auto op : constant_ops) {
          ShapedType shaped_type =
              RankedTensorType::get({1}, StringType::get(context));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

        EXPECT_TRUE(module_op_ref);
        return module_op_ref;
      }
    
      mlir::MLIRContext ctx_{};
    };
    
    func::FuncOp GetMainFuncOp(ModuleOp module_op) {
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        if (func_op.getSymName() == "main") {
          return func_op;
        }
      }
      return {};
    }
    
    TEST_F(ConvertAssetArgsTest, ConvertsSingleAssetArg) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
Back to top