Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bytes (0.13 sec)

  1. tensorflow/c/c_api_function_test.cc

      TF_DeleteBuffer(attr_buf);
    
      // Set attr
      tensorflow::AttrValue attr;
      attr.set_s("test_attr_value");
      string bytes;
      attr.SerializeToString(&bytes);
      TF_FunctionSetAttrValueProto(func_, "test_attr_name", bytes.data(),
                                   bytes.size(), s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Get attr
      AttrValue read_attr;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top