Body: <p>I'm wondering if there is a NN that can achieve the following task:</p>
  <p>Output a unit vector that is parallel to the input vector. i.e., input a vector <span class="math-container">$\mathbf{v}\in\mathbb{R}^d$</span>, output <span class="math-container">$\mathbf{v}/\|\mathbf{v}\|$</span>. The dimension <span class="math-container">$d$</span> can be fixed, say <span class="math-container">$2$</span>.</p>
  <p>To achieve this, it seems to me that we need to use NN to do three functions: square, square-root, and division. But I don't know if a NN can do all of these.</p>
  
Tags: <neural-networks><machine-learning><deep-learning><model-request>
Title: Is there a neural network that can output a unit vector that is parallel to the input vector?
UserDisplayName: Tony B
ThreadText: # Is there a neural network that can output a unit vector that is parallel to the input vector?
  
  (Asked by: username_0 on 2019-09-24)
  
  I'm wondering if there is a NN that can achieve the following task:
  
  Output a unit vector that is parallel to the input vector. i.e., input a vector $\mathbf{v}\in\mathbb{R}^d$, output $\mathbf{v}/\|\mathbf{v}\|$. The dimension $d$ can be fixed, say $2$.
  
  To achieve this, it seems to me that we need to use NN to do three functions: square, square-root, and division. But I don't know if a NN can do all of these.
  
  **Tags:** neural-networks, machine-learning, deep-learning, model-request
  
  ---
  
  ## 0 answers
  
  