/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/relay/op/memory/ |
H A D | memory.cc | 135 auto alloc_attrs = attrs.as<AllocTensorAttrs>(); in AllocTensorRel() local 136 CHECK(alloc_attrs != nullptr) << "must be alloc_tensor attributes"; in AllocTensorRel() 161 if (alloc_attrs->const_shape.defined()) { in AllocTensorRel() 162 auto con = alloc_attrs->const_shape; in AllocTensorRel() 169 alloc_type = TensorType(out_shape, alloc_attrs->dtype); in AllocTensorRel() 171 CHECK(alloc_attrs->assert_shape.defined()) in AllocTensorRel() 173 alloc_type = TensorType(alloc_attrs->assert_shape, alloc_attrs->dtype); in AllocTensorRel()
|
/dports/misc/tvm/incubator-tvm-0.6.1/src/relay/op/memory/ |
H A D | memory.cc | 133 auto alloc_attrs = attrs.as<AllocTensorAttrs>(); in AllocTensorRel() local 134 CHECK(alloc_attrs != nullptr) << "must be alloc_tensor attributes"; in AllocTensorRel() 150 if (alloc_attrs->const_shape.defined()) { in AllocTensorRel() 151 auto con = alloc_attrs->const_shape; in AllocTensorRel() 157 alloc_type = TensorTypeNode::make(out_shape, alloc_attrs->dtype); in AllocTensorRel() 159 CHECK(alloc_attrs->assert_shape.defined()) in AllocTensorRel() 161 alloc_type = TensorTypeNode::make(alloc_attrs->assert_shape, alloc_attrs->dtype); in AllocTensorRel()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/relay/op/memory/ |
H A D | memory.cc | 133 auto alloc_attrs = attrs.as<AllocTensorAttrs>(); in AllocTensorRel() local 134 CHECK(alloc_attrs != nullptr) << "must be alloc_tensor attributes"; in AllocTensorRel() 150 if (alloc_attrs->const_shape.defined()) { in AllocTensorRel() 151 auto con = alloc_attrs->const_shape; in AllocTensorRel() 157 alloc_type = TensorTypeNode::make(out_shape, alloc_attrs->dtype); in AllocTensorRel() 159 CHECK(alloc_attrs->assert_shape.defined()) in AllocTensorRel() 161 alloc_type = TensorTypeNode::make(alloc_attrs->assert_shape, alloc_attrs->dtype); in AllocTensorRel()
|
/dports/x11-toolkits/open-motif/motif-2.3.8/lib/Xm/ |
H A D | HierarchyP.h | 80 Cardinal alloc_attrs, alloc; /* amount of allocated space for each */ member 193 #define XmHierarchyC_alloc_attrs(constraints) ((constraints)->hierarchy.alloc_attrs)
|
/dports/devel/gettext-tools/gettext-0.21/gnulib-local/lib/ |
H A D | markup.c | 155 int alloc_attrs; member 275 context->alloc_attrs = 0; in markup_parse_context_new() 752 if (context->cur_attr + 2 >= context->alloc_attrs) in add_attribute() 754 context->alloc_attrs += 5; /* silly magic number */ in add_attribute() 755 context->attr_names = xrealloc (context->attr_names, sizeof (char *) * context->alloc_attrs); in add_attribute() 756 context->attr_values = xrealloc (context->attr_values, sizeof(char *) * context->alloc_attrs); in add_attribute()
|
/dports/devel/gettext-tools/gettext-0.21/gettext-tools/libgettextpo/ |
H A D | markup.c | 155 int alloc_attrs; member 275 context->alloc_attrs = 0; in markup_parse_context_new() 752 if (context->cur_attr + 2 >= context->alloc_attrs) in add_attribute() 754 context->alloc_attrs += 5; /* silly magic number */ in add_attribute() 755 context->attr_names = xrealloc (context->attr_names, sizeof (char *) * context->alloc_attrs); in add_attribute() 756 context->attr_values = xrealloc (context->attr_values, sizeof(char *) * context->alloc_attrs); in add_attribute()
|
/dports/devel/gettext-po-mode/gettext-0.21/gnulib-local/lib/ |
H A D | markup.c | 155 int alloc_attrs; member 275 context->alloc_attrs = 0; in markup_parse_context_new() 752 if (context->cur_attr + 2 >= context->alloc_attrs) in add_attribute() 754 context->alloc_attrs += 5; /* silly magic number */ in add_attribute() 755 context->attr_names = xrealloc (context->attr_names, sizeof (char *) * context->alloc_attrs); in add_attribute() 756 context->attr_values = xrealloc (context->attr_values, sizeof(char *) * context->alloc_attrs); in add_attribute()
|
/dports/devel/gettext-runtime/gettext-0.21/gnulib-local/lib/ |
H A D | markup.c | 155 int alloc_attrs; member 275 context->alloc_attrs = 0; in markup_parse_context_new() 752 if (context->cur_attr + 2 >= context->alloc_attrs) in add_attribute() 754 context->alloc_attrs += 5; /* silly magic number */ in add_attribute() 755 context->attr_names = xrealloc (context->attr_names, sizeof (char *) * context->alloc_attrs); in add_attribute() 756 context->attr_values = xrealloc (context->attr_values, sizeof(char *) * context->alloc_attrs); in add_attribute()
|
/dports/devel/gettext-runtime/gettext-0.21/gettext-tools/libgettextpo/ |
H A D | markup.c | 155 int alloc_attrs; member 275 context->alloc_attrs = 0; in markup_parse_context_new() 752 if (context->cur_attr + 2 >= context->alloc_attrs) in add_attribute() 754 context->alloc_attrs += 5; /* silly magic number */ in add_attribute() 755 context->attr_names = xrealloc (context->attr_names, sizeof (char *) * context->alloc_attrs); in add_attribute() 756 context->attr_values = xrealloc (context->attr_values, sizeof(char *) * context->alloc_attrs); in add_attribute()
|
/dports/devel/gettext-po-mode/gettext-0.21/gettext-tools/libgettextpo/ |
H A D | markup.c | 155 int alloc_attrs; member 275 context->alloc_attrs = 0; in markup_parse_context_new() 752 if (context->cur_attr + 2 >= context->alloc_attrs) in add_attribute() 754 context->alloc_attrs += 5; /* silly magic number */ in add_attribute() 755 context->attr_names = xrealloc (context->attr_names, sizeof (char *) * context->alloc_attrs); in add_attribute() 756 context->attr_values = xrealloc (context->attr_values, sizeof(char *) * context->alloc_attrs); in add_attribute()
|
/dports/devel/libtextstyle/gettext-0.21/gettext-tools/libgettextpo/ |
H A D | markup.c | 155 int alloc_attrs; member 275 context->alloc_attrs = 0; in markup_parse_context_new() 752 if (context->cur_attr + 2 >= context->alloc_attrs) in add_attribute() 754 context->alloc_attrs += 5; /* silly magic number */ in add_attribute() 755 context->attr_names = xrealloc (context->attr_names, sizeof (char *) * context->alloc_attrs); in add_attribute() 756 context->attr_values = xrealloc (context->attr_values, sizeof(char *) * context->alloc_attrs); in add_attribute()
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/relay/backend/vm/ |
H A D | compiler.cc | 530 auto alloc_attrs = attrs.as<AllocTensorAttrs>(); in VisitExpr_() local 531 CHECK(alloc_attrs != nullptr) in VisitExpr_() 533 auto dtype = alloc_attrs->dtype; in VisitExpr_() 577 auto alloc_attrs = attrs.as<AllocTensorAttrs>(); in VisitExpr_() local 578 CHECK(alloc_attrs != nullptr) in VisitExpr_() 580 auto dtype = alloc_attrs->dtype; in VisitExpr_()
|
/dports/misc/tvm/incubator-tvm-0.6.1/src/relay/backend/vm/ |
H A D | compiler.cc | 530 auto alloc_attrs = attrs.as<AllocTensorAttrs>(); in VisitExpr_() local 531 CHECK(alloc_attrs != nullptr) in VisitExpr_() 533 auto dtype = alloc_attrs->dtype; in VisitExpr_() 577 auto alloc_attrs = attrs.as<AllocTensorAttrs>(); in VisitExpr_() local 578 CHECK(alloc_attrs != nullptr) in VisitExpr_() 580 auto dtype = alloc_attrs->dtype; in VisitExpr_()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/relay/backend/vm/ |
H A D | compiler.cc | 589 auto alloc_attrs = attrs.as<AllocTensorAttrs>(); in VisitExpr_() local 590 CHECK(alloc_attrs != nullptr) << "must be the alloc tensor attrs"; in VisitExpr_() 591 auto dtype = alloc_attrs->dtype; in VisitExpr_() 636 auto alloc_attrs = attrs.as<AllocStorageAttrs>(); in VisitExpr_() local 637 CHECK(alloc_attrs != nullptr) << "must be the AllocStorage attrs"; in VisitExpr_() 638 auto dtype = alloc_attrs->dtype; in VisitExpr_()
|
/dports/devel/glib20/glib-2.70.4/glib/ |
H A D | gmarkup.c | 148 gint alloc_attrs; member 250 context->alloc_attrs = 0; in g_markup_parse_context_new() 980 if (context->cur_attr + 2 >= context->alloc_attrs) in add_attribute() 982 context->alloc_attrs += 5; /* silly magic number */ in add_attribute() 983 context->attr_names = g_realloc (context->attr_names, sizeof(GString*)*context->alloc_attrs); in add_attribute() 984 … context->attr_values = g_realloc (context->attr_values, sizeof(GString*)*context->alloc_attrs); in add_attribute()
|