Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Tata (0.16 sec)

  1. tensorflow/c/c_api_test.cc

        CompareTensors(out1, expected_out1);
      }
    
      void CompareTensors(TF_Tensor* a, TF_Tensor* b) {
        float* a_data = static_cast<float*>(TF_TensorData(a));
        float* b_data = static_cast<float*>(TF_TensorData(b));
        EXPECT_EQ(*a_data, *b_data);
      }
    
      void AddGradients(bool grad_inputs_provided, const char* prefix,
                        TF_Output* inputs, int ninputs, TF_Output* outputs,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/eager/unified_api_testutil.h

    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data,
                                    const int64_t* dims, int num_dims,
                                    AbstractTensorHandle** tensor) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/dlpack.cc

      owner->reference.Unref();
      delete owner;
    }
    
    // Converts TF_DATAType to DLPack data type.
    DLDataType GetDlDataType(TF_DataType data_type, TF_Status* status) {
      DLDataType dtype;
      dtype.lanes = 1;
      dtype.bits = TF_DataTypeSize(data_type) * 8;
      switch (data_type) {
        case TF_DataType::TF_BOOL:
          dtype.code = DLDataTypeCode::kDLBool;
          break;
        case TF_DataType::TF_HALF:
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.h

      // shape is explicitly requested where possible.
      int (*num_dims)(void* data, TF_Status* status);
    
      // Computes the axis length at `dim_index`.
      int64_t (*dim)(void* data, int dim_index, TF_Status* status);
    
      void (*deallocator)(void* data);
    
      // Summarizes the value of this tensor. The caller takes ownership of the
    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)
  5. tensorflow/c/eager/gradients.cc

      return absl::OkStatus();
    }
    
    Status SetAttrString(AbstractOperation* op_, const char* attr_name,
                         const char* data, size_t length,
                         ForwardOperation* forward_op_) {
      forward_op_->attrs.Set(attr_name, StringPiece(data, length));
      return op_->SetAttrString(attr_name, data, length);
    }
    Status SetAttrInt(AbstractOperation* op_, const char* attr_name, int64_t value,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/nn_grad.cc

         */
    
        AbstractTensorHandle* upstream_grad = grad_outputs[0];
        DCHECK(upstream_grad);
    
        // Recover data format from forward pass for gradient.
        std::string data_format;
        TF_RETURN_IF_ERROR(forward_attrs_.Get("data_format", &data_format));
    
        // Grad for A
        grad_inputs[0] = upstream_grad;
        grad_inputs[0]->Ref();
    
        // Grad for bias
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/c/BUILD

        ] + if_not_mobile([
            "//tensorflow/core/kernels:tensor_list",
            "//tensorflow/core/kernels:tensor_list_util",
            "//tensorflow/core/kernels:variant_ops_util",
            "//tensorflow/core/kernels/data:optional_ops_util",
            "//tensorflow/core/platform:abi",
        ]),
        alwayslink = 1,
    )
    
    tf_cuda_library(
        name = "ops",
        srcs = [
            "ops.cc",
        ],
        hdrs = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

          auto* out_shape_and_type = handle_data.add_shape_and_type();
          ic->ShapeHandleToProto(p.shape, out_shape_and_type->mutable_shape());
          out_shape_and_type->set_dtype(p.dtype);
          *out_shape_and_type->mutable_type() = p.type;
        }
      }
      string str_data;
      handle_data.SerializeToString(&str_data);
    
      TF_Buffer* result = TF_NewBufferFromString(str_data.c_str(), str_data.size());
      return result;
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental.cc

      tsl::Set_TF_Status_from_Status(
          s, unwrap(op)->Execute(
                 absl::MakeSpan(reinterpret_cast<AbstractTensorHandle**>(
                                    unwrap(o)->outputs.data()),
                                unwrap(o)->outputs.size()),
                 &num_outputs));
    }
    
    void TF_DeleteAbstractFunction(TF_AbstractFunction* func) {
      unwrap(func)->Unref();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. requirements_lock_3_10.txt

    tblib==2.0.0 \
        --hash=sha256:9100bfa016b047d5b980d66e7efed952fbd20bd85b56110aaf473cb97d18709a \
        --hash=sha256:a6df30f272c08bf8be66e0775fad862005d950a6b8449b94f7c788731d70ecd7
        # via -r requirements.in
    tensorboard-data-server==0.7.2 \
        --hash=sha256:7e0610d205889588983836ec05dc098e80f97b7e7bbff7e994ebb78f578d0ddb \
        --hash=sha256:9fe5d24221b29625dbc7328b0436ca7fc1c23de4acf4d272f1180856e32f9f60 \
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Apr 12 04:38:53 GMT 2024
    - 43.8K bytes
    - Viewed (0)
Back to top