# Building and unit testing Protocol Buffer in Tensorflow.jl

**URL:** <https://discourse.julialang.org/t/building-and-unit-testing-protocol-buffer-in-tensorflow-jl/2958>\
**Category:** Machine Learning\
**Created:** [March 29, 2017, 9:29pm UTC](https://discourse.julialang.org/t/building-and-unit-testing-protocol-buffer-in-tensorflow-jl/2958 "2017-03-29T21:29:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![hpoit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hpoit/32/245_2.png) [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Post date:** [March 29, 2017, 9:29pm UTC](https://discourse.julialang.org/t/building-and-unit-testing-protocol-buffer-in-tensorflow-jl/2958/1 "2017-03-29T21:29:58Z")

</div>

Hi @malmaud. What’s your reference for building and testing protobuf?

---

<div class="post-metadata">

**Author:** ![malmaud](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/malmaud/32/29_2.png) [@malmaud](https://discourse.julialang.org/u/malmaud)\
**Post date:** [March 29, 2017, 11:20pm UTC](https://discourse.julialang.org/t/building-and-unit-testing-protocol-buffer-in-tensorflow-jl/2958/2 "2017-03-29T23:20:35Z")

</div>

I don’t really understand what you mean by ‘testing protobuf’. All the protobuf functionality in TensorFlow.jl comes from [ProtoBuf.jl](https://github.com/JuliaIO/ProtoBuf.jl).

---

<div class="post-metadata">

**Author:** ![hpoit](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hpoit/32/245_2.png) [@hpoit](https://discourse.julialang.org/u/hpoit)\
**Post date:** [March 30, 2017, 12:23am UTC](https://discourse.julialang.org/t/building-and-unit-testing-protocol-buffer-in-tensorflow-jl/2958/3 "2017-03-30T00:23:12Z")

</div>

I didn’t realize /protobufs included high-level types like CostGraphDef\_Node or TensorProto which are not in ProtoBuf.jl (thanks). Are there any other files that need to be created for /protobufs?

---

<div class="post-metadata">

**Author:** ![malmaud](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/malmaud/32/29_2.png) [@malmaud](https://discourse.julialang.org/u/malmaud)\
**Post date:** [March 30, 2017, 1:01pm UTC](https://discourse.julialang.org/t/building-and-unit-testing-protocol-buffer-in-tensorflow-jl/2958/4 "2017-03-30T13:01:45Z")

</div>

Those types are created automatically by running `protoc` on the “.proto” files in the TensorFlow repository.
