Skip to main content

42 posts tagged with "TensorFlow"

TensorFlow, Google's Open-Source Library for Building, Training and Deploying Machine-Learning Models

View All Tags

How to Use Broadcasting in TensorFlow

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

Doubling every price in a table, adding a fee per product, or discounting one shop's prices: each combines a big tensor with a smaller one. TensorFlow does that without copying the small one by hand. It stretches it to fit, which is called broadcasting. This guide uses it three ways in TensorFlow 2.22.0, and shows the rule that decides when it works.