- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 3,608 for defn (0.04 sec)
-
tensorflow/compiler/jit/cluster_scoping_pass_test.cc
==============================================================================*/ #include "tensorflow/compiler/jit/cluster_scoping_pass.h" #include "absl/container/flat_hash_map.h" #include "tensorflow/compiler/jit/defs.h" #include "tensorflow/compiler/jit/test_util.h" #include "tensorflow/core/common_runtime/graph_constructor.h" #include "tensorflow/core/common_runtime/graph_def_builder_util.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 29 16:20:48 UTC 2020 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/defun_export.py
from tensorflow.python.framework import function @function.Defun(tf.float32, tf.float32) def plus(a, b): return a + b def test_defun(): x = tf.constant([[1.0], [1.0], [1.0]]) y = tf.constant([[2.0], [2.0], [2.0]]) # Verify that the function defined using function.Defun # has a corresponding tf.LegacyCall op. # CHECK: func {{@[a-zA-Z_0-9]+}}(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tools/op_quant_spec_getters_gen.cc
OUT(2) << "}\n"; OUT(2) << "auto spec = std::make_unique<quant::OpQuantSpec>();\n"; llvm::SmallVector<llvm::StringRef, 3> matches; for (auto *def : defs) { Operator op(def); for (const auto t : op.getTraits()) { if (auto opTrait = llvm::dyn_cast<mlir::tblgen::NativeTrait>(&t)) { auto trait_str = opTrait->getFullyQualifiedTraitName();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 11:18:44 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/jit/force_xla_constants_on_host_pass.cc
for (Node* node : graph->nodes()) { if (CanCreateXlaKernel(node->def())) { const FunctionBody* fbody = nullptr; std::vector<int> constant_arg_indices; std::vector<int> resource_arg_indices; NameAttrList function; TF_RETURN_IF_ERROR(NameAndAttrsFromFunctionCall(node->def(), &function)); // Force all constants to be on the host memory.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/sub-dependencies.md
=== "Python 3.8+" ```Python hl_lines="1" async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]): return {"fresh_value": fresh_value}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:09:48 UTC 2024 - 6.3K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy
) load("@rules_jvm_external//:defs.bzl", "maven_install") maven_install( artifacts = [ ], repositories = [ "https://repo.maven.apache.org/maven2/" ], ) """ } String generateBuildFile(Integer subProjectNumber, DependencyTree dependencyTree) { def isRoot = subProjectNumber == null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/de/docs/tutorial/background-tasks.md
Es kann sich um eine `async def`- oder normale `def`-Funktion handeln. **FastAPI** weiß, wie damit zu verfahren ist. In diesem Fall schreibt die Taskfunktion in eine Datei (den Versand einer E-Mail simulierend). Und da der Schreibvorgang nicht `async` und `await` verwendet, definieren wir die Funktion mit normalem `def`: ```Python hl_lines="6-9" {!../../../docs_src/background_tasks/tutorial001.py!}
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jan 12 14:15:29 UTC 2024 - 6.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/openapi/enablement_test.go
defs := GetOpenAPIDefinitionsWithoutDisabledFeatures(getOpenAPIDefs)(func(path string) spec.Ref { return spec.Ref{} }) def := defs["k8s.io/api/apps/v1.DeploymentCondition"] enumAppeared := false for _, prop := range def.Schema.Properties { if strings.Contains(prop.Description, "enum") { enumAppeared = true
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stdmethods/stdmethods.go
} func canonicalMethod(pass *analysis.Pass, id *ast.Ident) { // Expected input/output. expect, ok := canonicalMethods[id.Name] if !ok { return } // Actual input/output sign := pass.TypesInfo.Defs[id].Type().(*types.Signature) args := sign.Params() results := sign.Results() // Special case: WriteTo with more than one argument, // not trying at all to implement io.WriterTo,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 6.9K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/controller.cc
if (env_->FileExists(file_path).ok()) { TF_CHECK_OK(api_def_map_->LoadFile(env_, file_path)) << file_path; } else { // API defs are currently used for only optional pieces. } } } // Doc strings (summary, description) typically come from the API def. api_def_map_->UpdateDocs(); } void Controller::BuildModel() { // Build the internal data model for the requested ops
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3.2K bytes - Viewed (0)