Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for zeros (0.12 sec)

  1. tensorflow/c/c_api_function_test.cc

                  {"add2:sum:0", "final_out"}},
                 {});
    }
    
    TEST_F(CApiFunctionTest, ImportFunctionDef_InvalidProto) {
      // Invalid protobuf data (protos cannot start with 4 bytes of zeros)
      char proto[] = {0x0, 0x0, 0x0, 0x0};
      func_ = TF_FunctionImportFunctionDef(proto, 4, s_);
      EXPECT_TRUE(func_ == nullptr);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
    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