Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for function (0.35 sec)

  1. tensorflow/c/eager/graph_function.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_GRAPH_FUNCTION_H_
    #define TENSORFLOW_C_EAGER_GRAPH_FUNCTION_H_
    
    #include "tensorflow/c/eager/abstract_function.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/platform/refcount.h"
    namespace tensorflow {
    namespace tracing {
    namespace graph {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_function.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_ABSTRACT_FUNCTION_H_
    #define TENSORFLOW_C_EAGER_ABSTRACT_FUNCTION_H_
    
    #include "absl/status/statusor.h"
    #include "tensorflow/core/framework/function.pb.h"
    #include "tensorflow/core/platform/intrusive_ptr.h"
    #include "tensorflow/core/platform/refcount.h"
    #include "tensorflow/core/platform/status.h"
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

      int index;  // The index of the output within oper.
    } TF_Output;
    
    // TF_Function is a grouping of operations with defined inputs and outputs.
    // Once created and added to graphs, functions can be invoked by creating an
    // operation whose operation type matches the function name.
    typedef struct TF_Function TF_Function;
    
    // Function definition options. TODO(iga): Define and implement
    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)
  4. tensorflow/c/eager/abstract_context.h

      // it in this context.
      virtual AbstractOperation* CreateOperation() = 0;
    
      // Registers a function with this context, after this the function is
      // available to be called/referenced by its name in this context.
      virtual Status RegisterFunction(AbstractFunction*) = 0;
      // Remove a function. 'func' argument is the name of a previously added
      // FunctionDef. The name is in fdef.signature.name.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

    // TFE_Execute by creating an op with the same name as the function.
    TF_CAPI_EXPORT extern void TFE_ContextAddFunction(TFE_Context* ctx,
                                                      TF_Function* function,
                                                      TF_Status* status);
    
    // Removes a function from the context. Once removed, you can no longer
    // TFE_Execute it or TFE_Execute any TFE_Op which has it as an attribute or any
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  6. tensorflow/c/c_test.c

    #include "tensorflow/c/kernels.h"
    
    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tfe_monitoring_internal.h

      using TFE_MonitoringGauge::TFE_MonitoringGauge;
    };
    
    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 {
    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)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      std::vector<std::unique_ptr<DeviceThread>> device_threads_;
      // A cancellation manager to use if the caller does not provide one. When ops
      // are executed asynchronously this must outlive the queued op, so it can't be
      // function-local to Execute.
      mutable std::unique_ptr<CancellationManager> default_cancellation_manager_;
    };
    
    // Contains a tuple of tensors, one on each of the `underlying_devices_` of the
    // ParallelDevice.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/grappler/grappler_internal.h

    namespace tensorflow {
    namespace grappler {
    
    // Plugin initialization function that a device plugin
    // must define.
    typedef void (*TFInitGraphPluginFn)(TP_OptimizerRegistrationParams* const,
                                        TF_Status* const);
    
    // Registers Graph optimizers.
    Status InitGraphPlugin(void* dso_handle);
    
    // Allow registering a graph optimizer using a function (used for
    // testing).
    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)
  10. tensorflow/c/eager/unified_api_testutil.h

    using Model = std::function<Status(AbstractContext*,
                                       absl::Span<AbstractTensorHandle* const>,
                                       absl::Span<AbstractTensorHandle*>)>;
    
    // Runs `model` maybe wrapped in a function call op. This can be thought as
    // being equivalent to the following python code.
    //
    // if use_function:
    //   outputs = tf.function(model)(inputs)
    // else:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
Back to top