- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for genFunction (0.23 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt
val function = when { declaration.hasModifier(KtTokens.SUSPEND_KEYWORD) -> analysisContext.builtIns.getSuspendFunction(parameterCount) else -> analysisContext.builtIns.getFunction(parameterCount) } val errorMessage = "Descriptor not found for function \"${declaration.name}\""
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Jun 11 15:45:42 UTC 2024 - 15.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
} ElementsAttr GetInverseScalesValueAttr() { return GetInverseScalesConstantOp().getValue(); } func::CallOp GetCallOp() { return call_op_; } FlatSymbolRefAttr GetFunction() { return call_op_.getCalleeAttr(); } private: explicit UniformQuantizeFunctionCallPattern(func::CallOp call_op) : call_op_(call_op) {} func::CallOp call_op_; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0)