Searched refs:dnode (Results 1 – 2 of 2) sorted by relevance
970 dnode_t *dnode_init(dnode_t *dnode, void *data) in dnode_init() argument972 dnode->data = data; in dnode_init()973 dnode->parent = NULL; in dnode_init()974 dnode->left = NULL; in dnode_init()975 dnode->right = NULL; in dnode_init()976 return dnode; in dnode_init()979 void dnode_destroy(dnode_t *dnode) in dnode_destroy() argument981 dict_assert(!dnode_is_in_a_dict(dnode)); in dnode_destroy()982 free(dnode); in dnode_destroy()985 void *dnode_get(dnode_t *dnode) in dnode_get() argument[all …]
116 dnode = self.name_node_dict[conv2d_scope_name + '/dilation_rate']118 dnode = None128 return knode, bnode, dnode, anode154 knode, bnode, dnode, anode = self.get_conv2d_params(scope_name)156 if dnode is not None:157 dilation = struct.unpack('i', dnode.attr['value'].tensor.tensor_content[0:4])[0]