question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Directory structure around C++ code and custom ops

See original GitHub issue

Right now the implementation of custom ops lives in /operations and the linking python code in /tf-encrypted/operations. This doesn’t seem to match neither https://github.com/tensorflow/tensorflow nor https://github.com/tensorflow/custom-op.

Knowing that we’ll soon see more functionality written in C++ (eg HE) as well as more custom ops (for accessing external functionality and for optimizing protocols otherwise written in python) we should figure out which directory structure works best.

Related #568

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
ianlivingstonecommented, Jun 12, 2019

Whichever directory structure we choose, we should ensure that we think through:

  • Developer setup and maintenance
  • The underlying build system and ensuring it’s easy to understand, use, and maintain
  • Having a cohesive strategy for testing the different components and how they interface together
  • Clear documentation on how to add an additional operation
  • Clear documentation on how all of this is built in CI and results in a published package
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to structure a multi-file C program: Part 2 | Opensource.com
In Part 1, I laid out the structure for a multi-file C program called MeowMeow that implements a toy codec. I also talked...
Read more >
Magic directories: a guide to Puppet directory structure
The code, and the agents that use it, are all separated from each other, and each branch is represented by its own directory,...
Read more >
Directory structure for a C++ library - Stack Overflow
I'd like to create a structure that is suitable for the Automake tools to allow easy compilation on multiple platforms, but I've never...
Read more >
Directory Structure | Unreal Engine 4.27 Documentation
Directory Structure. Overview of the directories that make up the engine and game projects. Choose your operating system: Windows. macOS. Linux.
Read more >
How should I organize my source tree?
If I'm writing a library (and I'm using C/C++) I'm going to organize my source files first in two folders called "include" and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found