Skip to Main Content
Scalable Cloud Ops with Fugue
book

Scalable Cloud Ops with Fugue

by Josha Stella
July 2017
Beginner to intermediate content levelBeginner to intermediate
312 pages
7h 21m
English
Pragmatic Bookshelf
Content preview from Scalable Cloud Ops with Fugue

Code Reuse with Modules

Modules form the basic unit of code reuse in Ludwig. If we have a bunch of functionality that we want to make commonly available elsewhere, whether as part of a single compositions or more generally in the style of a library, a module lets us package it all up under a unified namespace so that it can be conveniently imported and used by a consumer.

Modules consist of regular Ludwig source files. A library, like the Fugue Standard Library, which you can examine in the Fugue online documentation,[36] is just a collection of Ludwig modules.

When we write Ludwig code that we want to package up in a module, we just put it all in a single file and name it with the desired module name. Modules are named by the file that ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Reinventing the Organization for GenAI and LLMs

Reinventing the Organization for GenAI and LLMs

Ethan Mollick

Publisher Resources

ISBN: 9781680502671Errata Page