Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TFE_OpSetAttrValueProto (0.28 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TFE_Op* var_op_2 = TFE_NewOp(ctx, "VarHandleOp", status);
    
      string serialized_dtype;
      ASSERT_TRUE(name_and_attrs.attr().find("dtype")->second.SerializeToString(
          &serialized_dtype));
      TFE_OpSetAttrValueProto(
          var_op_2, "dtype",
          reinterpret_cast<const void*>(serialized_dtype.c_str()),
          serialized_dtype.length(), status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
Back to top