Vector Size
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-07.)
Vector Size has 17 facts recorded in Dontopedia across 6 references, with 1 live disagreement.
Mostly:rdf:type(6), rdfs:label(2), constant across resize(1)
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-07.)
Vector Size has 17 facts recorded in Dontopedia across 6 references, with 1 live disagreement.
Mostly:rdf:type(6), rdfs:label(2), constant across resize(1)
constantAcrossResizenoDefaultpositionalParameterdeterminesassignedValueparameterOfdefinesDimensionOther subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. “X motherOf this subject” — and answer questions the forward facts can't. Grouped by predicate.
hasAttributeHas Attribute(4)ex:SparseVectorizerex:SparseVectorizerex:storageex:VectorStoragecontainsContains(3)ex:constructor-argumentsex:shape_tupleex:tuple_argsinitializesInitializes(2)ex:__init__ex:VectorStoragesecondDimensionSecond Dimension(2)ex:initial_capacity_by_vector_sizeex:new_capacity_by_vector_sizecallsWithArgumentCalls With Argument(1)ex:example_usagedeclaresDeclares(1)ex:example_usagedimension2Dimension2(1)ex:new_vectors_arrayhasElementHas Element(1)ex:shape-tuplehasInstanceVariableHas Instance Variable(1)ex:SparseVectorStoragehasParameterHas Parameter(1)ex:__init__instantiatedWithInstantiated With(1)ex:vectorizer_instanceparameterParameter(1)ex:__init__passesArgumentsPasses Arguments(1)ex:constructor-callpreservesDimensionPreserves Dimension(1)ex:_resizerequiresParameterRequires Parameter(1)ex:__init__setsSets(1)ex:example_usagesetsAttributeSets Attribute(1)ex:__init__usesParametersUses Parameters(1)ex:lil_matrix-initializationvariableNameVariable Name(1)ex:example_usageTimeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
doc:beam/64b78ef0-51e8-44c3-8e8b-4efc1e6f6610def _resize(self): new_capacity = int(1.5 * self.capacity) # Increase capacity by 50% new_vectors = lil_matrix((new_capacity, self.vector_size), dtype=np.float32) new_vectors[:self.capacity] = self.vectors …
doc:beam/0cb60209-6aed-4aab-9fcf-4a2b2c8059a3- The `get_vectors` method returns the stored vectors up to the current count as a dense array. 4. **Resizing**: - The `_resize` method increases the capacity of the matrix by 50% and copies the existing vectors to the new matrix. #…
doc:beam/c9fb5d03-21a9-4fec-954f-8c2ceb15ff5ddef add_vector(self, vector): if self.num_vectors == self.capacity: self._resize() self.vectors[self.num_vectors] = vector self.num_vectors += 1 def get_vectors(self): return self.vectors…
doc:beam/84374ede-abf6-45be-8655-597249e8102ereturn self.vectors[:self.num_vectors].toarray() def _resize(self): new_capacity = int(1.5 * self.capacity) # Increase capacity by 50% new_vectors = lil_matrix((new_capacity, self.vector_size), dtype=np.float3…
Dontopedia is in a read-only public launch. Follow the references and disputed branches now; contributions will open after durable identity and moderation are in place.