Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for double (0.23 sec)

  1. 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)
  2. tensorflow/c/eager/c_api_test_util.h

    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx,
                                             const tensorflow::tstring& value);
    
    // Return a tensor handle containing a 2x2 matrix of doubles
    TFE_TensorHandle* DoubleTestMatrixTensorHandle(TFE_Context* ctx);
    
    // Return a tensor handle containing a 2x2 matrix of floats
    TFE_TensorHandle* TestMatrixTensorHandle(TFE_Context* ctx);
    
    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)
  3. tensorflow/c/eager/c_api_experimental.h

    // APIs for sampler buckets
    typedef struct TFE_MonitoringBuckets TFE_MonitoringBuckets;
    TF_CAPI_EXPORT extern TFE_MonitoringBuckets*
    TFE_MonitoringNewExponentialBuckets(double scale, double growth_factor,
                                        int bucket_count);
    TF_CAPI_EXPORT extern void TFE_MonitoringDeleteBuckets(
        TFE_MonitoringBuckets* buckets);
    
    // APIs for Sampler without label.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. 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:
        case DT_QUINT8:
    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)
  5. tensorflow/c/c_test_util.h

    // Create 1 dimensional tensor with values from `values`
    TF_Tensor* Int32Tensor(const std::vector<int32_t>& values);
    
    TF_Tensor* Int32Tensor(int32_t v);
    
    TF_Tensor* DoubleTensor(double v);
    
    TF_Tensor* FloatTensor(float v);
    
    TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s,
                              const char* name = "feed",
                              TF_DataType dtype = TF_INT32,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.h

      Status SetOption(const std::string& name,
                       const std::vector<int64_t>& values) override;
      Status SetOption(const std::string& name,
                       const std::vector<double>& values) override;
    
     private:
      std::unique_ptr<TF_Filesystem> filesystem_;
      std::unique_ptr<const TF_FilesystemOps> ops_;
      std::unique_ptr<const TF_RandomAccessFileOps> random_access_file_ops_;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      virtual AbstractTensorInterface* CreateInt32Scalar(int32_t value) = 0;
      virtual AbstractTensorInterface* CreateFloatScalar(float value) = 0;
      virtual AbstractTensorInterface* CreateDoubleScalar(double value) = 0;
      virtual AbstractTensorInterface* CreateHalfScalar(Eigen::half value) = 0;
      virtual AbstractTensorInterface* CreateStringScalar(tstring value) = 0;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

    // The named union is needed here (as opposed to
    // inside the `TF_Filesystem_Option_Value` struct)
    // as MSVC does not recognize `typeof`.
    typedef union TF_Filesystem_Option_Value_Union {
      int64_t int_val;
      double real_val;
      struct {
        char* buf;
        int buf_length;
      } buffer_val;
    } TF_Filesystem_Option_Value_Union;
    
    typedef struct TF_Filesystem_Option_Value {
      int type_tag;    // type of values in the values union
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
Back to top