tensorflow/core/tpu/tpu_embedding_configuration_proto_rewrite.cc
// Populates the feature_descriptor fields with default values when they have
// not been filled in by the user.
Populates the feature_descriptor fields with default values when they have
not been filled in by the user.
Populates the feature_descriptor fields with default values when they have not been filled in by the user .
void PopulateFeatureDescriptors(tpu::TPUEmbeddingConfiguration* config) {
  for (int table_id = 0; table_id < config->table_descriptor_size();
       ++table_id) {
    tpu::TPUEmbeddingConfiguration::FeatureDescriptor* feature_descriptor =
        config->add_feature_descriptor();
    feature_descriptor->set_table_id(table_id);
    feature_descriptor->add_input_shape(
        config->batch_size_per_tensor_core() *
        config->table_descriptor(table_id).num_features());
  }  
}
void PopulateFeatureDescriptors ( tpu :: TPUEmbeddingConfiguration * config ) { for ( int table_id = 0 ; table_id < config -> table_descriptor_size ( ) ; ++ table_id ) { tpu :: TPUEmbeddingConfiguration :: FeatureDescriptor * feature_descriptor = config -> add_feature_descriptor ( ) ; feature_descriptor -> set_table_id ( table_id ) ; feature_descriptor -> add_input_shape ( config -> batch_size_per_tensor_core ( ) * config -> table_descriptor ( table_id ) . num_features ( ) ) ; } }
Populates the feature_descriptor fields with default values when they have
not been filled in by the user.
Populates the feature_descriptor fields with default values when they have not been filled in by the user .
// table_id