Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for float (0.18 sec)

  1. tensorflow/c/eager/c_api_test_util.h

    #include "tensorflow/core/platform/tstring.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    // Return a tensor handle containing a float scalar
    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
    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)
  2. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // dtype of read operations).
      TF_DataType type_;
    };
    
    // Creates a TFE_TensorHandle with value `v`.
    TensorHandlePtr FloatTensorHandle(float v, TF_Status* status);
    
    // Creates a rank-one TFE_TensorHandle with value `v`.
    TensorHandlePtr VectorFloatTensorHandle(const std::vector<float>& v,
                                            TF_Status* status);
    
    // Helper to un-pack `num_replicas` TFE_TensorHandles from one parallel handle.
    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)
  3. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_SetAttrFloat(TF_OperationDescription* desc,
                                               const char* attr_name, float value);
    TF_CAPI_EXPORT extern void TF_SetAttrFloatList(TF_OperationDescription* desc,
                                                   const char* attr_name,
                                                   const float* values,
                                                   int num_values);
    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/experimental/gradients/tape/tape_operation.h

      Status SetAttrString(const char* attr_name, const char* data,
                           size_t length) override;
      Status SetAttrInt(const char* attr_name, int64_t value) override;
      Status SetAttrFloat(const char* attr_name, float value) override;
      Status SetAttrBool(const char* attr_name, bool value) override;
      Status SetAttrType(const char* attr_name, DataType value) override;
      Status SetAttrShape(const char* attr_name, const int64_t* dims,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  5. 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)
  6. tensorflow/c/experimental/gradients/grad_test_helper.h

        Model model, Model grad_model, AbstractContext* ctx,
        absl::Span<AbstractTensorHandle* const> inputs, bool use_function,
        double abs_error = 1e-2);
    
    void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals,
                          absl::Span<const int64_t> dims, double abs_error = 1e-2);
    
    Model BuildGradModel(Model forward, GradientRegistry registry);
    
    }  // namespace internal
    }  // namespace gradients
    C
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Jan 14 20:36:51 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_op_attrs.h

      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
      virtual bool GetFloat(absl::string_view attr_name, float* result) const = 0;
      virtual bool GetBool(absl::string_view attr_name, bool* result) const = 0;
      virtual bool GetType(absl::string_view attr_name, DataType* result) const = 0;
      virtual Status GetTypeList(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

                                                int64_t value);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name,
                                                  float value);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrBool(TFE_Op* op, const char* attr_name,
                                                 unsigned char 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)
  9. tensorflow/c/eager/tape.h

    };
    
    // Template instantiations here
    
    inline bool IsDtypeTrainable(DataType dtype) {
      switch (dtype) {
        case DT_HALF:
        case DT_BFLOAT16:
        case DT_FLOAT:
        case DT_DOUBLE:
        case DT_COMPLEX64:
        case DT_COMPLEX128:
        case DT_RESOURCE:
        case DT_VARIANT:
          return true;
        case DT_QINT8:
        case DT_QINT16:
        case DT_QINT32:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. tensorflow/c/eager/gradients_internal.h

    Status SetAttrInt(AbstractOperation*, const char* attr_name, int64_t value,
                      ForwardOperation*);
    Status SetAttrFloat(AbstractOperation*, const char* attr_name, float value,
                        ForwardOperation*);
    Status SetAttrBool(AbstractOperation*, const char* attr_name, bool value,
                       ForwardOperation*);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
Back to top