Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for t_ (0.16 sec)

  1. tensorflow/c/c_api_test.cc

      TF_DeleteTensor(a);
      TF_DeleteTensor(b);
    }
    
    TEST(CAPI, TestFromProto) {
      Tensor t_cc(DT_FLOAT, TensorShape({2, 3}));
      t_cc.flat<float>().setConstant(1.0);
      tensorflow::TensorProto t_proto;
      t_cc.AsProtoField(&t_proto);
    
      TF_Buffer* t_buffer = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(t_proto, t_buffer));
    
      const int num_bytes = 6 * sizeof(float);
      float* values =
    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/experimental/gradients/math_grad.cc

         */
        AbstractTensorHandle* upstream_grad = grad_outputs[0];
    
        // Get transpose attrs
        bool t_a;
        TF_RETURN_IF_ERROR(forward_attrs_.Get("transpose_a", &t_a));
    
        bool t_b;
        TF_RETURN_IF_ERROR(forward_attrs_.Get("transpose_b", &t_b));
    
        // Conj each input
        AbstractTensorHandle* conj_output;
        std::string name = "Conj_A_MatMul_Grad";
        TF_RETURN_IF_ERROR(
    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)
  3. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index 98c080b..843bd45 100644
    --- a/locale/xlocale.h
    +++ b/locale/xlocale.h
    @@ -20,6 +20,9 @@
     #ifndef _XLOCALE_H
     #define _XLOCALE_H	1
     
    +#ifndef _BITS_TYPES___LOCALE_T_H
    +#define _BITS_TYPES___LOCALE_T_H 1
    +
     /* Structure for reentrant locale using functions.  This is an
        (almost) opaque type for the user level programs.  The file and
        this data structure is not standardized.  Don't rely on it.  It can
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -#  endif
    -# endif
    -
    -__STRING_INLINE size_t __strcspn_c1 (const char *__s, int __reject);
    -__STRING_INLINE size_t
    -__strcspn_c1 (const char *__s, int __reject)
    -{
    -  size_t __result = 0;
    -  while (__s[__result] != '\0' && __s[__result] != __reject)
    -    ++__result;
    -  return __result;
    -}
    -
    -__STRING_INLINE size_t __strcspn_c2 (const char *__s, int __reject1,
    -				     int __reject2);
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  5. tensorflow/c/eager/parallel_device/parallel_device.cc

      handle_methods.summarize = &ParallelTensorSummarize;
      return TensorHandlePtr(TFE_NewCustomDeviceTensorHandle(
          context, parallel_device_name.c_str(), t_released->dtype(), t_released,
          handle_methods, status));
    }
    
    // For TFE_CustomDevice::copy_tensor_to_device in the parallel device
    // registration.
    //
    // Since this function is used to satisfy the TFE_CustomDevice C API,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
Back to top