Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MakeOpDef (0.08 sec)

  1. tensorflow/c/ops_test.cc

      TF_DeleteStatus(status);
      TF_DeleteBuffer(op_list_buffer);
    }
    
    #define C_CTX(x) reinterpret_cast<TF_ShapeInferenceContext*>(x)
    #define C_SHP(x) reinterpret_cast<TF_ShapeHandle*>(x)
    
    static OpDef MakeOpDef(int num_inputs, int num_outputs) {
      OpRegistrationData op_reg_data;
      OpDefBuilder b("dummy");
      for (int i = 0; i < num_inputs; ++i) {
        b.Input(strings::StrCat("i", i, ": float"));
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
Back to top