Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestOpWithNoGradient (0.18 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(1.0, *(static_cast<float*>(TF_TensorData(t_c))));
      TF_DeleteStatus(status);
      TF_DeleteTensor(t_c);
      TF_DeleteBuffer(t_buffer);
    }
    
    REGISTER_OP("TestOpWithNoGradient")
        .Input("x: T")
        .Output("y: T")
        .Attr("T: {float, double}")
        .Doc(R"doc(
    Test op with no grad registered.
    
    x: input
    y: output
    )doc")
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top