MCPcopy Create free account
hub / github.com/apache/tvm-ffi / TCustomFunc

Class TCustomFunc

tests/cpp/testing_object.h:358–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356};
357
358class TCustomFunc : public ObjectRef {
359 public:
360 explicit TCustomFunc(Array<TVar> params, Array<ObjectRef> body, String comment) {
361 data_ = make_object<TCustomFuncObj>(params, body, comment);
362 }
363
364 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE(TCustomFunc, ObjectRef, TCustomFuncObj);
365};
366
367// Test object with all POD field types to exercise serialization of every field kind.
368class TAllFieldsObj : public Object {

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.68