Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for genFunction (0.27 sec)

  1. src/cmd/compile/internal/ssa/passbm_test.go

    func BenchmarkDSEPassBlock(b *testing.B)      { benchFnBlock(b, dse, genFunction) }
    func BenchmarkCSEPass(b *testing.B)           { benchFnPass(b, cse, blockCount, genFunction) }
    func BenchmarkCSEPassBlock(b *testing.B)      { benchFnBlock(b, cse, genFunction) }
    func BenchmarkDeadcodePass(b *testing.B)      { benchFnPass(b, deadcode, blockCount, genFunction) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_pass.h

     public:
      using TacPass<func::FuncOp>::TacPass;
    
      ~TacFunctionPass() override = default;
    
      mlir::func::FuncOp getFunction() { return getOperation(); }
    
      virtual void runOnFunction() = 0;
    
      void runOnOperation() final {
        if (!getFunction().isExternal()) runOnFunction();
      }
    
     protected:
      // Returns the derived pass name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/tfrt_fallback/batch_function_fallback_benchmark_test.cc

    }
    
    TEST(BatchFunctionTest, Basic) {
      auto corert = CreateTestCoreRuntime();
      auto* host = corert->GetHostContext();
      auto [bef_buffer, bef_file] = CreateBefFile(host);
      auto* func = bef_file->GetFunction("main");
      CHECK(func);
      CHECK_EQ(func->result_types().size(), 113);
      CHECK_EQ(func->argument_types().size(), 113);
    
      auto arguments = CreateTestArguments(func, host);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 08 08:08:48 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/saved_model_api.h

      // in a TF2 savedmodel.
      //
      // Note: `function` is a double pointer, so that implementations are
      // able to return a pointer to an internal member.
      virtual Status GetFunction(const std::string& function_path,
                                 ConcreteFunction** function) = 0;
    
      // Retrieve a list of child functions from a SavedModel given a starting node.
      // 0 is the root node.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 04 17:05:58 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/utils/KtFe10TypeSystemCommonBackendContextForTypeMapping.kt

                ?: FAKE_CONTINUATION_CLASS_DESCRIPTOR.typeConstructor
        }
    
        override fun functionNTypeConstructor(n: Int): TypeConstructorMarker {
            return builtIns.getFunction(n).typeConstructor
        }
    
        override fun KotlinTypeMarker.getNameForErrorType(): String? {
            return null
        }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/internal/saved_model_api.cc

                                                          TF_Status* status) {
      tensorflow::ConcreteFunction* result = nullptr;
      tensorflow::Status get_function_status =
          tensorflow::unwrap(model)->GetFunction(function_path, &result);
      status->status.Update(get_function_status);
      if (!get_function_status.ok()) {
        return nullptr;
      }
      return tensorflow::wrap(result);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 04 00:45:47 UTC 2020
    - 4.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_executor.cc

    }
    
    llvm::SmallVector<Tensor> RuntimeFallbackExecutor::Execute(
        llvm::StringRef function_name, llvm::ArrayRef<Tensor> arguments) {
      // Get the kernel entrypoint function.
      const Function* compute = bef_file_->GetFunction(function_name);
      CHECK(compute) << "Entrypoint function not found";
      CHECK_EQ(arguments.size() + 1, compute->num_arguments())
          << "Wrong number of arguments for function " << function_name.str();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/experimental/tac/transforms/target_annotation.cc

          device_is_set = true;
        }
      }
      if (!device_is_set) {
        op->emitError("cannot set target device for this ops");
      }
    }
    
    void TargetAnnotationPass::runOnFunction() {
      auto func = getFunction();
      OpBuilder builder(func);
    
      func.walk([&](Operation* op) {
        // We only care about TFL dialect.
        if (IsNonConstOp(op) && NotTFLQuantDequantizeOp(op) &&
            !IsTerminatorOp(op) &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 19 19:32:06 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.h

    // (https://github.com/tensorflow/tensorflow/blob/2b96f3662bd776e277f86997659e61046b56c315/tensorflow/python/eager/def_function.py#L1167-L1171),
    class TFSavedModelAPI : public SavedModelAPI {
     public:
      Status GetFunction(const std::string& function_path,
                         ConcreteFunction** function) override;
    
      Status GetFunctions(
          int node_id,
          absl::flat_hash_map<std::string, ConcreteFunction*>* functions) override;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 21:44:45 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

        const RestoredResource& resource = node_and_resource.second;
        TF_RETURN_IF_ERROR(resource.Initialize());
      }
      return Status();
    }
    
    }  // namespace
    
    Status TFSavedModelAPI::GetFunction(const std::string& function_path,
                                        ConcreteFunction** function) {
      absl::optional<int> node =
          internal::FindNodeAtPath(function_path, bundle_.saved_object_graph());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top