Skip to content

Commit

Permalink
Deploying to gh-pages from @ fc5d955 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
asogaard committed May 23, 2024
1 parent 3595c4c commit d055ea5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 4 additions & 1 deletion _modules/graphnet/models/graphs/graph_definition.html
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ <h1 id="modules-graphnet-models-graphs-graph-definition--page-root">Source code
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span>
<span class="bp">self</span><span class="p">,</span>
<span class="n">detector</span><span class="p">:</span> <span class="n">Detector</span><span class="p">,</span>
<span class="n">node_definition</span><span class="p">:</span> <span class="n">NodeDefinition</span> <span class="o">=</span> <span class="n">NodesAsPulses</span><span class="p">(),</span>
<span class="n">node_definition</span><span class="p">:</span> <span class="n">NodeDefinition</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">edge_definition</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">EdgeDefinition</span><span class="p">]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">input_feature_names</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">List</span><span class="p">[</span><span class="nb">str</span><span class="p">]]</span> <span class="o">=</span> <span class="kc">None</span><span class="p">,</span>
<span class="n">dtype</span><span class="p">:</span> <span class="n">Optional</span><span class="p">[</span><span class="n">torch</span><span class="o">.</span><span class="n">dtype</span><span class="p">]</span> <span class="o">=</span> <span class="n">torch</span><span class="o">.</span><span class="n">float</span><span class="p">,</span>
Expand Down Expand Up @@ -422,6 +422,9 @@ <h1 id="modules-graphnet-models-graphs-graph-definition--page-root">Source code
<span class="c1"># Base class constructor</span>
<span class="nb">super</span><span class="p">()</span><span class="o">.</span><span class="fm">__init__</span><span class="p">(</span><span class="n">name</span><span class="o">=</span><span class="vm">__name__</span><span class="p">,</span> <span class="n">class_name</span><span class="o">=</span><span class="bp">self</span><span class="o">.</span><span class="vm">__class__</span><span class="o">.</span><span class="vm">__name__</span><span class="p">)</span>

<span class="k">if</span> <span class="n">node_definition</span> <span class="ow">is</span> <span class="kc">None</span><span class="p">:</span>
<span class="n">node_definition</span> <span class="o">=</span> <span class="n">NodesAsPulses</span><span class="p">()</span>

<span class="c1"># Member Variables</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_detector</span> <span class="o">=</span> <span class="n">detector</span>
<span class="bp">self</span><span class="o">.</span><span class="n">_edge_definition</span> <span class="o">=</span> <span class="n">edge_definition</span>
Expand Down
9 changes: 1 addition & 8 deletions api/graphnet.models.graphs.graph_definition.html
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,7 @@
<dt class="field-odd">Parameters<span class="colon">:</span></dt>
<dd class="field-odd"><ul class="simple">
<li><p><strong>detector</strong> (<span class="sphinx_autodoc_typehints-type"><a class="reference internal" href="graphnet.models.detector.detector.html#graphnet.models.detector.detector.Detector" title="graphnet.models.detector.detector.Detector"><code class="xref py py-class docutils literal notranslate"><span class="pre">Detector</span></code></a></span>) – The corresponding ´Detector´ representing the data.</p></li>
<li><p><strong>node_definition</strong> (<span class="sphinx_autodoc_typehints-type"><a class="reference internal" href="graphnet.models.graphs.nodes.nodes.html#graphnet.models.graphs.nodes.nodes.NodeDefinition" title="graphnet.models.graphs.nodes.nodes.NodeDefinition"><code class="xref py py-class docutils literal notranslate"><span class="pre">NodeDefinition</span></code></a></span>, default: <code class="docutils literal notranslate"><span class="pre">NodesAsPulses(</span>
  <span class="pre">NodesAsPulses(</span>
  <span class="pre">{</span>
      <span class="pre">'arguments':</span> <span class="pre">{</span>
          <span class="pre">'input_feature_names':</span> <span class="pre">None,</span>
      <span class="pre">},</span>
  <span class="pre">})</span>
<span class="pre">)</span></code>) – Definition of nodes. Defaults to NodesAsPulses.</p></li>
<li><p><strong>node_definition</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code>[<a class="reference internal" href="graphnet.models.graphs.nodes.nodes.html#graphnet.models.graphs.nodes.nodes.NodeDefinition" title="graphnet.models.graphs.nodes.nodes.NodeDefinition"><code class="xref py py-class docutils literal notranslate"><span class="pre">NodeDefinition</span></code></a>]</span>, default: <code class="docutils literal notranslate"><span class="pre">None</span></code>) – Definition of nodes. Defaults to NodesAsPulses.</p></li>
<li><p><strong>edge_definition</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code>[<a class="reference internal" href="graphnet.models.graphs.edges.edges.html#graphnet.models.graphs.edges.edges.EdgeDefinition" title="graphnet.models.graphs.edges.edges.EdgeDefinition"><code class="xref py py-class docutils literal notranslate"><span class="pre">EdgeDefinition</span></code></a>]</span>, default: <code class="docutils literal notranslate"><span class="pre">None</span></code>) – Definition of edges. Defaults to None.</p></li>
<li><p><strong>input_feature_names</strong> (<span class="sphinx_autodoc_typehints-type"><code class="xref py py-data docutils literal notranslate"><span class="pre">Optional</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">List</span></code>[<code class="xref py py-class docutils literal notranslate"><span class="pre">str</span></code>]]</span>, default: <code class="docutils literal notranslate"><span class="pre">None</span></code>) – Names of each column in expected input data
that will be built into a graph. If not provided,
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit d055ea5

Please sign in to comment.