Git Product home page Git Product logo

Comments (5)

nbwuzhe avatar nbwuzhe commented on May 29, 2024

This means noise with normal distribution, which refers to the second term tf.random.normal.

from eat_tensorflow2_in_30_days.

songyp0505 avatar songyp0505 commented on May 29, 2024

那增加正态扰动的意思,是为了让随机数“更随机”?,但即使@符号与tf.random.normal不在一起也能影响到tf.random.normal吗还是说@符号会影响整条语句? 谢谢!

from eat_tensorflow2_in_30_days.

nbwuzhe avatar nbwuzhe commented on May 29, 2024

X@w0 means matrix multiplication between X and w0. The @ mark has a higher priority than adding. b0 is a bias. This part (X@w0+b0) represents the fundamental linear operator in the neural network, which is irrelevant to the random number.

On the other hand, tf.random.normal is for adding a (pseudo-) randomized (or stochastic) noise.

from eat_tensorflow2_in_30_days.

songyp0505 avatar songyp0505 commented on May 29, 2024

好的,虽然只听懂了前半部分,感觉后半部分的知识我还没接触过,日后再来请教!感谢

from eat_tensorflow2_in_30_days.

Hong-King avatar Hong-King commented on May 29, 2024

我感觉作者的意思应该是:
对于【X@w0 + b0】这部分,“@”表示矩阵乘法
对于【torch.normal( 0.0,2.0,size = [n,1])】这部分,则是为了增加正态扰动

from eat_tensorflow2_in_30_days.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.