Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 68 for DataType (0.24 sec)

  1. tensorflow/c/eager/gradients.h

    class TapeTensor {
     public:
      explicit TapeTensor(AbstractTensorHandle* handle);
      TapeTensor(const TapeTensor& other);
      ~TapeTensor();
    
      int64_t GetID() const;
      tensorflow::DataType GetDType() const;
    
      AbstractTensorHandle* ZerosLike() const;
    
      AbstractTensorHandle* GetHandle() const;
    
     private:
      AbstractTensorHandle* handle_;
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

    //
    // Custom devices must use TFE_NewCustomDeviceTensorHandle instead.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromDeviceMemory(
        TFE_Context* ctx, const char* device_name, TF_DataType, const int64_t* dims,
        int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test.cc

      EXPECT_NE(attr_found, attr_values.cend());
      EXPECT_EQ(attr_found->second.list().type(0), tensorflow::DataType::DT_BOOL);
      EXPECT_EQ(attr_found->second.list().type(1), tensorflow::DataType::DT_FLOAT);
      EXPECT_EQ(attr_found->second.list().type(2), tensorflow::DataType::DT_INT32);
    
      TFE_TensorHandle* retvals[1] = {nullptr};
      int num_retvals = 1;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  4. tensorflow/c/c_api_function.cc

    #include "tensorflow/core/util/debug_data_dumper.h"
    
    using tensorflow::errors::InvalidArgument;
    
    namespace tensorflow {
    namespace {
    
    Status ValidateNonRefOutput(const Node* node, int idx) {
      const DataType& dt = node->output_type(idx);
      return IsRefType(dt)
                 ? InvalidArgument("Output ", idx, " of node '", node->name(),
                                   "' has a reference type ", DataTypeString(dt))
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  5. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

          // Return values
          {"y: float"},
          // Attr def
          {},
          // Nodes
          {
              {{"assert"},
               "Assert",
               {"condition", "x"},
               {{"T", std::vector<DataType>{DT_FLOAT}}}},
              {{"y"},
               "CollectiveReduce",
               {"x"},
               {{"T", DT_FLOAT},
                {"group_size", static_cast<int>(devices.size())},
                {"group_key", 0},
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/plugins/form-validator/security.js

    ttr("param-name")||c.attr("name"),i=function(a,b){b(a)};if(!h)throw new Error("Missing input name used for http requests made by server validator");g||(g={}),"string"==typeof g&&(g=a.parseJSON(g)),g[h]=d,a.ajax({url:b,type:"POST",cache:!1,data:g,dataType:"json",error:function(a){return i({valid:!1,message:"Connection failed with status: "+a.statusText},f),!1},success:function(a){i(a,f)}})};a.formUtils.addAsyncValidator({name:"server",validatorFunction:function(a,b,c,d,e,g){var h=c.valAttr("url")...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 10.5K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
      };
      status->status = absl::OkStatus();
    }
    
    TF_Tensor* TFE_AllocateHostTensor(TFE_Context* ctx, TF_DataType dtype,
                                      const int64_t* dims, int num_dims,
                                      TF_Status* status) {
      std::vector<int64_t> dimvec(num_dims);
      for (int i = 0; i < num_dims; ++i) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  8. src/main/webapp/js/admin/jquery-3.6.3.min.js

    0,t,"script")}}),E.each(["get","post"],function(e,i){E[i]=function(e,t,n,r){return m(t)&&(r=r||n,n=t,t=void 0),E.ajax(E.extend({url:e,type:i,dataType:r,data:t,success:n},E.isPlainObject(e)&&e))}}),E.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),E._evalUrl=function(e,t,n){return E.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){E.globalEval(e,t,n)}})},E.f...
    JavaScript
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Fri Feb 17 12:13:41 GMT 2023
    - 87.8K bytes
    - Viewed (3)
  9. tensorflow/c/experimental/gradients/math_grad.cc

    namespace gradients {
    namespace {
    
    static Status SafeConj(AbstractContext* ctx, AbstractTensorHandle* const input,
                           AbstractTensorHandle** output, const char* name) {
      auto dtype = input->DataType();
      if (DataTypeIsFloating(BaseType(dtype)) ||
          DataTypeIsInteger(BaseType(dtype))) {
        return tensorflow::ops::Identity(ctx, input, output, name);
      } else if (!DataTypeIsComplex(BaseType(dtype)) &&
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/BUILD

            "//tensorflow:__subpackages__",
        ],
        deps = [
            ":c_api",
            ":c_api_experimental",
            ":c_api_internal",
            "//tensorflow/c:c_test_util",
            "//tensorflow/c:tf_datatype",
            "//tensorflow/c:tf_tensor",
            "//tensorflow/core:framework",
            "//tensorflow/core:lib",
            "//tensorflow/core:protos_all_cc",
            "//tensorflow/core:test",
        ],
    )
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top