Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_SetOutput (0.41 sec)

  1. tensorflow/c/kernels_test.cc

        TF_GetInput(ctx, 3, &input, s);
        EXPECT_EQ(TF_OUT_OF_RANGE, TF_GetCode(s));
    
        // Copy the input tensor to output.
        TF_SetOutput(ctx, 0, input, s);
        EXPECT_EQ(TF_OK, TF_GetCode(s));
    
        TF_SetOutput(ctx, 24, input, s);
        EXPECT_EQ(TF_OUT_OF_RANGE, TF_GetCode(s));
    
        EXPECT_EQ(TF_UINT8, TF_ExpectedOutputDataType(ctx, 0));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
Back to top