- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for fn (0.26 sec)
-
tensorflow/c/c_api.h
// Create a TF_Function from a TF_Graph // // Params: // fn_body - the graph whose operations (or subset of whose operations) will be // converted to TF_Function. // fn_name - the name of the new TF_Function. Should match the operation // name (OpDef.name) regexp [A-Z][A-Za-z0-9_.\\-/]*. // If `append_hash_to_fn_name` is false, `fn_name` must be distinct
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/tfe_monitoring_internal.h
}; struct TFE_MonitoringBuckets { explicit TFE_MonitoringBuckets( std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)> fn) { create_buckets = fn; } std::function<std::unique_ptr<tensorflow::monitoring::Buckets>(void)> create_buckets; }; struct TFE_MonitoringSamplerCell { tensorflow::monitoring::SamplerCell cell; };
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 5.2K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_internal.h
// Registers Graph optimizers. Status InitGraphPlugin(void* dso_handle); // Allow registering a graph optimizer using a function (used for // testing). Status InitGraphPlugin(TFInitGraphPluginFn init_fn); struct GrapplerItem; class Cluster; struct TFStatusDeleter { void operator()(TF_Status* s) const { TF_DeleteStatus(s); } }; using OwnedTFStatus = std::unique_ptr<TF_Status, TFStatusDeleter>;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Jun 08 08:58:23 GMT 2022 - 3.5K bytes - Viewed (1) -
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,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.h
TF_CAPI_EXPORT extern void TF_DeleteFunctionLibraryDefinition( TF_FunctionLibraryDefinition* fn_lib); // Shorthand for calling LookUp to get the OpDef from FunctionLibraryDefinition // given op name. The returned OpDef is represented by TF_Buffer. TF_CAPI_EXPORT extern void TF_LookUpOpDef(TF_FunctionLibraryDefinition* fn_lib, const char* name, TF_Buffer* buf,
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// such it can trace operations through TF_ExecuteOperation. After completing // tracing, a function can be obtained by TF_FinalizeFunction. TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* status); // Creates a context for eager execution of operations. TF_ExecutionContext* TF_NewEagerExecutionContext(TFE_ContextOptions*, TF_Status* s);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
src/cmd/cgo/internal/test/callback_c_gc.c
//go:build gc #include "_cgo_export.h" #include <stdint.h> #include <stdio.h> #include <stdlib.h> /* Test calling panic from C. This is what SWIG does. */ extern void crosscall2(void (*fn)(void *, int), void *, int); extern void _cgo_panic(void *, int); extern void _cgo_allocate(void *, int); void callPanic(void) { struct { const char *p; } a; a.p = "panic from C";
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 592 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
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Nov 13 22:20:40 GMT 2020 - 5.2K bytes - Viewed (0)