Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for op_key (0.04 sec)

  1. tensorflow/c/c_api_function_test.cc

      // Sanity check returned OpDef
      string data(static_cast<const char*>(buffer->data), buffer->length);
      OpDef op_def;
      op_def.ParseFromString(data);
      EXPECT_EQ(op_def.name(), func_name_);
      EXPECT_EQ(op_def.input_arg_size(), 1);
      EXPECT_EQ(op_def.output_arg_size(), 1);
      EXPECT_FALSE(op_def.is_stateful());
    
      TF_DeleteBuffer(buffer);
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

        const OpDefs& ops = op_list.op();
        bool found = std::find_if(ops.begin(), ops.end(),
                                  [](const tensorflow::OpDef& op_def) {
                                    return op_def.name() == "TestCApi";
                                  }) != ops.end();
        EXPECT_TRUE(found);
        TF_DeleteBuffer(op_list_buffer);
      }
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // Creates a new TF_ApiDefMap instance.
    //
    // Params:
    //  op_list_buffer - TF_Buffer instance containing serialized OpList
    //    protocol buffer. (See
    //    https://www.tensorflow.org/code/tensorflow/core/framework/op_def.proto
    //    for the OpList proto definition).
    //  status - Set to OK on success and an appropriate error on failure.
    TF_CAPI_EXPORT extern TF_ApiDefMap* TF_NewApiDefMap(TF_Buffer* op_list_buffer,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top