torch_mlu/csrc/aten/core/generator_impl.cpp
void manual_seed(uint64_t seed) {
  auto defaultGenerator = getDefaultMLUGenerator();
  std::lock_guard<std::mutex> lock(defaultGenerator.mutex());
  defaultGenerator.set_current_seed(seed);
}
/**
 * set manual seed
 *
 * See Note [Acquire lock when using random generators]
  */
set manual seed
See Note [Acquire lock when using random generators]
set manual seed See Note [ Acquire lock when using random generators ]
void manual_seed(uint64_t seed) {
  auto defaultGenerator = getDefaultMLUGenerator();
  std::lock_guard<std::mutex> lock(defaultGenerator.mutex());
  defaultGenerator.set_current_seed(seed);
}
void manual_seed ( uint64_t seed ) { auto defaultGenerator = getDefaultMLUGenerator ( ) ; std :: lock_guard < std :: mutex > lock ( defaultGenerator . mutex ( ) ) ; defaultGenerator . set_current_seed ( seed ) ; }
set manual seed
 See Note [Acquire lock when using random generators]
set manual seed See Note [ Acquire lock when using random generators ]