METHODS, SYSTEMS, AND ARTICLES OF MANUFACTURE TO AUTONOMOUSLY SELECT DATA STRUCTURES
First Claim
1. An apparatus to train a data structure selection model, the apparatus comprising:
- an ordinal assigner to;
assign training code operations to respective first ordered values; and
assign candidate data structure types to respective second ordered values;
a filter generator to, for a first instruction of the training code operations, generate a Bloom filter bit vector pattern based on (a) one of the first ordered values, (b) one of the second ordered values corresponding to a first one of the candidate data structure types, and (c) a size of the first instruction;
a label generator to generate a first model training input feature vector based on the Bloom filter bit vector pattern, data corresponding to the first instruction, and a performance metric of the first one of the candidate data structure types; and
a neural network manager to train the data structure selection model with the first model training input feature vector.
1 Assignment
0 Petitions
Accused Products
Abstract
Methods, systems, and articles of manufacture to autonomously select data structures are disclosed. An example apparatus includes an ordinal assigner to assign training code operations to respective first ordered values, and assign candidate data structure types to respective second ordered values, a filter generator to, for a first instruction of the training code operations, generate a Bloom filter bit vector pattern based on (a) one of the first ordered values, (b) one of the second ordered values corresponding to a first one of the candidate data structure types, and (c) a size of the first instruction, a label generator to generate a first model training input feature vector based on the Bloom filter bit vector pattern, data corresponding to the first instruction, and a performance metric of the first one of the candidate data structure types, and a neural network manager to train the data structure selection model with the first model training input feature vector.
-
Citations
34 Claims
-
1. An apparatus to train a data structure selection model, the apparatus comprising:
-
an ordinal assigner to; assign training code operations to respective first ordered values; and assign candidate data structure types to respective second ordered values; a filter generator to, for a first instruction of the training code operations, generate a Bloom filter bit vector pattern based on (a) one of the first ordered values, (b) one of the second ordered values corresponding to a first one of the candidate data structure types, and (c) a size of the first instruction; a label generator to generate a first model training input feature vector based on the Bloom filter bit vector pattern, data corresponding to the first instruction, and a performance metric of the first one of the candidate data structure types; and a neural network manager to train the data structure selection model with the first model training input feature vector. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A non-transitory computer readable storage medium comprising instructions that, when executed by a processor, cause the processor to at least:
-
assign training code operations to respective first ordered values; assign candidate data structure types to respective second ordered values; generate, for a first instruction of the training code operations, a Bloom filter bit vector pattern based on (a) one of the first ordered values, (b) one of the second ordered values corresponding to a first one of the candidate data structure types, and (c) a size of the first instruction; generate a first model training input feature vector based on the Bloom filter bit vector pattern, data corresponding to the first instruction, and a performance metric of the first one of the candidate data structure types; and train the data structure selection model with the first model training input feature vector. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A method to train a data structure selection model, the method comprising:
-
assigning training code operations to respective first ordered values; assigning candidate data structure types to respective second ordered values; generating, for a first instruction of the training code operations, a Bloom filter bit vector pattern based on (a) one of the first ordered values, (b) one of the second ordered values corresponding to a first one of the candidate data structure types, and (c) a size of the first instruction; generating a first model training input feature vector based on the Bloom filter bit vector pattern, data corresponding to the first instruction, and a performance metric of the first one of the candidate data structure types; and training the data structure selection model with the first model training input feature vector. - View Dependent Claims (22)
-
-
23-30. -30. (canceled)
-
31. An apparatus to train a data structure selection model, the apparatus comprising:
-
means for assigning ordinals to; assign training code operations to respective first ordered values; and assign candidate data structure types to respective second ordered values; means for filter generating to, for a first instruction of the training code operations, generate a Bloom filter bit vector pattern based on (a) one of the first ordered values, (b) one of the second ordered values corresponding to a first one of the candidate data structure types, and (c) a size of the first instruction; means for label generating to generate a first model training input feature vector based on the Bloom filter bit vector pattern, data corresponding to the first instruction, and a performance metric of the first one of the candidate data structure types; and means for neural network managing to train the data structure selection model with the first model training input feature vector. - View Dependent Claims (32, 33)
-
-
34-40. -40. (canceled)
Specification