セクション 1. 章 6
single
Challenge: Initializing Model Weights and Biases
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
You are tasked with creating random tensors to initialize weights and biases for a simple neural network.
- Ensure reproducibility by setting a manual seed to an arbitrary number before generating the tensors.
- Create a
3x4tensor filled with random values from a uniform distribution between0and1(weights for the first layer). - Create a
1x4tensor filled with zeros (biases for the first layer). - Create a
4x2tensor with random integers between-5and5(weights for the second layer).
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 1. 章 6
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください