View source: R/vision_augment.R
| rotate_mat | R Documentation | 
Return a random rotation matrix with 'max_deg' and 'p'
rotate_mat(x, max_deg = 10, p = 0.5, draw = NULL, batch = FALSE)
x | 
 tensor  | 
max_deg | 
 max_deg  | 
p | 
 probability  | 
draw | 
 draw  | 
batch | 
 batch  | 
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.