Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mock (0.16 sec)

  1. tensorflow/c/c_api_test.cc

      int counter_;
    };
    
    // Helper macros for the TF_OperationGetAttr* tests.
    // TODO(ashankar): Use gmock matchers instead?
    // (https://github.com/google/googletest/blob/master/googlemock/docs/CookBook.md#writing-new-parameterized-matchers-quickly)
    // That will require setting up the tensorflow build with gmock.
    #define EXPECT_TF_META(attr_name, expected_list_size, expected_type, \
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api.h

                                                      TF_Status* status);
    
    // Creates a new operation - see `TF_NewOperation` for more details.
    //
    // The lock for `graph` must be held when calling this function.
    //
    // Unless implementing advanced behavior, like custom gradient functions, you
    // most likely need to call `TF_NewOperation` instead.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  3. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      TF_DeleteFunction(grad_func);
    
      const StackTracesMap* func_stack_traces;
      const StackTracesMap* grad_stack_traces;
    
      {
        mutex_lock l(host_graph_->mu);
        auto flib_def = host_graph_->graph.flib_def();
        func_stack_traces = flib_def.GetStackTraces(func_name_);
        grad_stack_traces = flib_def.GetStackTraces("MyGrad");
      }
    
    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