R/edges_to_hdf5.R
    triples_to_hdf5_raw.Rdproduce HDF5 files for edges defined in tsv files of triples (left, rel, right)
triples_to_hdf5_raw(
  triple_paths,
  num_partitions = 1L,
  relname = "all_edges",
  lhs = "all",
  rhs = "all",
  weight = 1,
  operator = "complex_diagonal",
  all_negs = FALSE,
  pbgref,
  pathlibref
)character(3) with test, train, valid edge sets in order
integer(1)
character(1), passed to make_rel_schema
character(1), passed to make_rel_schema
character(1), passed to make_rel_schema
numeric(1), passed to make_rel_schema
character(1), passed to make_rel_schema
character(1), passed to make_rel_schema
python reference to torchbiggraph module
python reference to pathlib module
tfis = fb15k_folder()
pbg = reticulate::import("torchbiggraph")
palib = reticulate::import("pathlib")
nn = triples_to_hdf5(tfis, pbgref = pbg, pathlibref=palib)
#> Error in triples_to_hdf5(tfis, pbgref = pbg, pathlibref = palib): unused argument (pathlibref = palib)
nn
#> Error in eval(expr, envir, enclos): object 'nn' not found
rhdf5::h5ls(dir(nn$edge_paths[[1]], full=TRUE))
#> Error in eval(expr, envir, enclos): object 'nn' not found