- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 152 for fn_name (0.11 sec)
-
tensorflow/c/c_api_function.cc
"Encountered while processing input ", i, " into function '", fn_name, "'"); TF_RETURN_WITH_CONTEXT_IF_ERROR(ValidateNonRefOutput(node, idx), "Encountered while processing input ", i, " into function '", fn_name, "'"); input_tensors->emplace_back(node, idx); const auto& iter = input_nodes->find(node);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.cc
#include "tensorflow/core/platform/errors.h" namespace tensorflow { AbstractContext* BuildFunction(const char* fn_name) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TF_ExecutionContext* graph_ctx = TF_CreateFunction(fn_name, status.get()); return unwrap(graph_ctx); } Status CreateParamsForInputs(AbstractContext* ctx,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/runtime/runtime.cc
using tensorflow::tracing::graph::GraphFunction; TaggedValue MakeCallable(const std::string& fn_name, Function fn, AbstractContext* ctx) { auto CallFn = [fn_name, fn, ctx](TaggedValue args_, TaggedValue kwargs_) -> TaggedValue { std::cout << "Calling " << fn_name << std::endl; tensorflow::StatusOr<TaggedValue> v = fn.Execute(ctx, args_); return v.value(); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 11:18:25 UTC 2022 - 7.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
} msg += ")"; return errors::InvalidArgument(msg.c_str()); } static TracingContext* CreateTracingExecutionContext(const char* fn_name, TF_Status* s) { if (default_factory) { return default_factory(fn_name, s); } tsl::Set_TF_Status_from_Status( s, errors::FailedPrecondition("default_factory is nullptr")); return nullptr; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 10:15:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); // Start a new function / execution context. string fn_name = "double"; TF_ExecutionContext* graph_ctx = TF_CreateFunction(fn_name.c_str(), status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); auto* placeholder_t =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 39.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir_registration.cc
#include "tensorflow/c/eager/c_api_unified_experimental_internal.h" using tensorflow::tracing::TracingContext; extern "C" { TracingContext* MlirTracingFactory(const char* fn_name, TF_Status* s); } namespace { // Register the tracing implemented in this file as the default tracing engine. static bool register_tracing = [] { RegisterTracingEngineFactory("mlir", MlirTracingFactory);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 25 04:40:46 UTC 2020 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
[](const std::string& input_name, const StringRef fn_name) { return absl::StrCat(fn_name.str(), "_", input_name); }); } if (need_prefix_for_output_name) { absl::c_transform( output_name_vec, fn_output_name_vec, output_name_vec.begin(), [](const std::string& output_name, const StringRef fn_name) { return absl::StrCat(fn_name.str(), "_", output_name); }); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_cache_test.cc
}; using Cache = DeviceCompilationCache<FakeExecutable>; using Signature = DeviceCompilationClusterSignature; absl::StatusOr<Signature> BuildSampleSignature(const std::string& fn_name) { NameAttrList fn; fn.set_name(fn_name); std::vector<XlaCompiler::Argument> args(1); args[0].kind = XlaCompiler::Argument::kConstant; args[0].type = DT_INT32; args[0].shape = TensorShape({4, 0});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.h
#include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { // Builds and returns a `TracingContext` using the default tracing impl. AbstractContext* BuildFunction(const char* fn_name); // Creates parameters (placeholders) in the tracing `ctx` using the shape and // dtype of `inputs`. Status CreateParamsForInputs(AbstractContext* ctx,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_internal.h
// For LLVM style RTTI. static bool classof(const AbstractContext* ptr) { return ptr->getKind() == kGraph || ptr->getKind() == kMlir; } }; typedef TracingContext* (*FactoryFunction)(const char* fn_name, TF_Status*); Status SetDefaultTracingEngine(const char* name); void RegisterTracingEngineFactory(const ::tensorflow::string& name, FactoryFunction factory); } // namespace tracing
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Nov 13 22:20:40 UTC 2020 - 5.2K bytes - Viewed (0)