Home
last modified time | relevance | path

Searched refs:mode_map (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dmode_keys_test.py28 mode_map = mode_keys.ModeKeyMap(**{
34 self.assertEqual(3, mode_map[mode_keys.KerasModeKeys.PREDICT])
35 self.assertEqual(3, mode_map[mode_keys.EstimatorModeKeys.PREDICT])
36 self.assertEqual(1, mode_map[mode_keys.KerasModeKeys.TEST])
37 self.assertEqual(1, mode_map[mode_keys.EstimatorModeKeys.EVAL])
39 _ = mode_map[mode_keys.KerasModeKeys.TRAIN]
41 _ = mode_map[mode_keys.EstimatorModeKeys.TRAIN]
43 _ = mode_map['serve']
46 self.assertLen(mode_map, 2)
47 self.assertEqual({1, 3}, set(mode_map.values()))
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h379 int8_t mode_map[BLOCK_SIZES][MAX_MODES]; member
Dvp9_rdopt.c3196 int8_t *tile_mode_map = tile_data->mode_map[bsize]; in vp9_rd_pick_inter_mode_sb()
3197 int8_t mode_map[MAX_MODES]; // Maintain mode_map information locally to avoid in vp9_rd_pick_inter_mode_sb() local
3334 memcpy(mode_map, tile_mode_map, sizeof(mode_map)); in vp9_rd_pick_inter_mode_sb()
3337 int mode_index = mode_map[midx]; in vp9_rd_pick_inter_mode_sb()
Dvp9_encodeframe.c5567 tile_data->mode_map[i][j] = j; in vp9_init_tile_data()