Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for hint (0.15 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

      // Releases the cleanup function instead of running it.
      // Hint: use c.release()() to run early.
      F release() {
        released_ = true;
        return std::move(f_);
      }
    
      bool is_released() const { return released_; }
    
     private:
      static_assert(!std::is_reference<F>::value, "F must not be a reference");
    
      bool released_ = false;
      F f_;
    };
    
    template <int&... ExplicitParameterBarrier, typename F,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // Returns the device ID which created the handle.
      virtual int DeviceId(Status* status) const = 0;
      // Returns a tensor for the handle. If tensor is remote, it will be copied.
      virtual AbstractTensorInterface* Resolve(Status* status) = 0;
    
      std::string DebugString() const override;
    
      // Returns a Boolean hint indicating whether callers should prefer
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

                                                     const TF_DataType* values,
                                                     int num_values);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrShapeList(
        TFE_Op* op, const char* attr_name, const int64_t** dims,
        const int* num_dims, int num_values, TF_Status* out_status);
    TF_CAPI_EXPORT extern void TFE_OpSetAttrFunctionList(TFE_Op* op,
    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)
  4. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index fcf956a..e2c5d29 100644
    --- a/sysdeps/ieee754/dbl-64/k_rem_pio2.c
    +++ b/sysdeps/ieee754/dbl-64/k_rem_pio2.c
    @@ -172,7 +172,8 @@ int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int3
     
         /* compute q[0],q[1],...q[jk] */
     	for (i=0;i<=jk;i++) {
    -	    for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_function.cc

        const TF_Graph* fn_body, const char* fn_name, int ninputs,
        const TF_Output* inputs, std::vector<OutputTensor>* input_tensors,
        std::unordered_map<const Node*, std::vector<int>>* input_nodes)
        TF_EXCLUSIVE_LOCKS_REQUIRED(fn_body->mu) {
      input_tensors->reserve(ninputs);
      for (int i = 0; i < ninputs; ++i) {
        Node* node = inputs[i].oper ? &inputs[i].oper->node : nullptr;
        int idx = inputs[i].index;
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  6. tensorflow/c/eager/c_api_test_util.h

                                                      int num_dims);
    
    // Get a Matrix TensorHandle with given float values and dimensions
    TFE_TensorHandle* TestTensorHandleWithDimsFloat(TFE_Context* ctx, float data[],
                                                    int64_t dims[], int num_dims);
    
    // Get a Matrix TensorHandle with given int values and dimensions
    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)
  7. tensorflow/c/c_api.h

        const TF_Graph* fn_body, const char* fn_name,
        unsigned char append_hash_to_fn_name, int num_opers,
        const TF_Operation* const* opers, int ninputs, const TF_Output* inputs,
        int noutputs, const TF_Output* outputs, const char* const* output_names,
        int ncontrol_outputs, const TF_Operation* const* control_outputs,
        const char* const* control_output_names, const TF_FunctionOptions* opts,
    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)
  8. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      }
      TFE_OpAddAttrs(op_.get(), attributes);
      for (int input_index = 0; input_index < inputs.size(); ++input_index) {
        TFE_OpAddInput(op_.get(), inputs[input_index], status);
        if (TF_GetCode(status) != TF_OK) return;
      }
      std::vector<TFE_TensorHandle*> unwrapped_results(expected_max_outputs);
      int real_num_outputs = expected_max_outputs;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  9. tensorflow/c/eager/gradient_checker.cc

      for (int32_t i = start; i < end; i += step) {
        (*data)[i] = i;
      }
    }
    
    // Fills out_dims with the dimensions of the given tensor.
    void GetDims(const TF_Tensor* t, int64_t* out_dims) {
      int num_dims = TF_NumDims(t);
      for (int i = 0; i < num_dims; i++) {
        out_dims[i] = TF_Dim(t, i);
      }
    }
    
    // Runs model as is if output is a scalar,
    // else sums the output tensor before returning.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    //
    // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an
    // intermediate buffer if not.
    //
    // Returns number of bytes transferred or -1 on failure.
    int CopyFileContents(int dst_fd, int src_fd, off_t size);
    
    }  // namespace tf_posix_filesystem
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
Back to top