Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

edgify / torch   python

Repository URL to install this package:

Version: 2.0.1+cpu 

/ include / torch / csrc / jit / ir / graph_utils.h

#pragma once

#include <torch/csrc/jit/ir/ir.h>

#include <vector>

namespace torch {
namespace jit {

TORCH_API TypePtr getTensorType(const at::Tensor& t, bool complete);

TORCH_API TypePtr inferShapeAndTypeForInput(
    TypePtr input_type,
    Stack::const_iterator& s_iter,
    const Stack::const_iterator& s_iter_end,
    bool complete);

TORCH_API void setInputTensorTypes(
    Graph& g,
    const Stack& stack,
    bool complete,
    const std::vector<int>& param_count_list = {});

} // namespace jit
} // namespace torch