Home | History | Annotate | Download | only in test

Lines Matching full:weights

57 // (1) Randomly generate a model (graph and weights), randomly generate input
73 // For simplicity, all data (model inputs, model outputs, weights,
120 // note that the API promotes by-value weights larger than 128 to by-reference,
131 // Force all graph weights into a single pool (as we recommend to users)
134 // Forcing all graph weights into a single pool may be necessary to
578 // Each region in weights is a problem-sized 2-D TENSOR_FLOAT32.
579 TestMemories weights;
586 // region index in "weights"
774 if ((weights.memoryCount() != 0) &&
776 memoryIndex = randUInt(weights.memoryCount());
778 memoryIndex = weights.addMemory();
781 const unsigned regionIndex = weights.addRegion(memoryIndex, length);
825 // Now finalize the weights.
826 weights.layout();
838 static_cast<float*>(weights.getRegion(regionIndex, &memory, &offset, &length));