Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Falque (0.27 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      ASSERT_EQ(TF_TensorType(actual_value.get()),
                static_cast<TF_DataType>(DataTypeToEnum<value_type>().value));
      EXPECT_EQ(expected_value,
                *static_cast<value_type*>(TF_TensorData(actual_value.get())));
    }
    
    template <std::size_t num_devices>
    void RegisterParallelDevice(
        TFE_Context* context, const char* device_name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_reader.h

    // and then incremented that counter for various values of label:
    // streamz->GetCell("label-value")->IncrementBy(1);
    //
    // The test code can then read and test the value of that counter:
    //
    // auto* reader = TFE_MonitoringNewCounterReader("name");
    // test();
    // int64_t value = TFE_MonitoringReadCounter1(reader, "label-value");
    
    // Opaque handle to a reader.
    typedef struct TFE_MonitoringCounterReader TFE_MonitoringCounterReader;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.h

    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, float value);
    
    // Return a tensor handle containing a int scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, int value);
    
    // Return a tensor handle containing a bool scalar
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, bool value);
    
    // Return a tensor handle containing a tstring scalar
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // If this function succeeds:
    //   * *status is set to an OK value,
    //   * a TF_Operation is added to the graph,
    //   * a non-null value pointing to the added operation is returned --
    //     this value is valid until the underlying graph is deleted.
    // Otherwise:
    //   * *status is set to a non-OK value,
    //   * the graph is not modified,
    //   * a null value is returned.
    // In either case, it deletes `desc`.
    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)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib.h

        return nullptr;
      }
      TF_DataType datatype_enum(
          static_cast<TF_DataType>(DataTypeToEnum<DataType>().value));
      for (int device_index = 0; device_index < num_underlying_devices();
           ++device_index) {
        auto device_value = absl::make_unique<DataType>();
        *device_value = values[device_index];
        std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tensor(
            TF_NewTensor(
    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)
  6. tensorflow/c/eager/parallel_device/parallel_device.h

    //    "/job:localhost/replica:0/task:0/device:GPU:1"}
    // Then executing an operation on CUSTOM:0 will execute it on GPU:0 and GPU:1.
    //
    // Implicit copies onto `device_name` are allowed, replicating the value once
    // per device in `underlying_devices`. Implicit copies off of the device throw
    // an error.
    //
    // All component tensors must have the same dtype. Currently they must also have
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_operation.h

                                   size_t length) = 0;
      virtual Status SetAttrInt(const char* attr_name, int64_t value) = 0;
      virtual Status SetAttrFloat(const char* attr_name, float value) = 0;
      virtual Status SetAttrBool(const char* attr_name, bool value) = 0;
      virtual Status SetAttrType(const char* attr_name, DataType value) = 0;
      virtual Status SetAttrShape(const char* attr_name, const int64_t* dims,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tfe_op_attrs_internal.h

    #define TENSORFLOW_C_EAGER_TFE_OP_ATTRS_INTERNAL_H_
    
    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/c/eager/abstract_op_attrs.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    
    // An equivalent of a tensorflow::NameAttrList protocol buffer, but used in ways
    // that sometimes do not require serialization.
    typedef struct TFE_OpAttrs TFE_OpAttrs;
    
    typedef struct TFE_Context TFE_Context;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 10 05:41:19 GMT 2021
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api.h

                                                   const void* value,
                                                   size_t length);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name,
                                                int64_t value);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name,
                                                  float value);
    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)
  10. tensorflow/c/c_api_macros_internal.h

    // https://github.com/tensorflow/community/blob/master/rfcs/20200612-stream-executor-c-api/C_API_versioning_strategy.md
    #define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \
      do {                                                                    \
        if (STRUCT_OBJ.struct_size == 0) {                                    \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 13 17:40:56 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top