Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for mkdirs (0.17 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/util/command_line_flags.h"
    
    #if defined(PLATFORM_WINDOWS)
    // Make mkdir resolve to _mkdir to create the test temporary directory.
    #include <direct.h>
    #define mkdir(name, mode) _mkdir(name)
    
    // Windows defines the following macros to convert foo to fooA or fooW,
    // depending on the type of the string argument. We don't use these macros, so
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem.cc

                                                int64_t* undeleted_dirs) {
      if (undeleted_files == nullptr || undeleted_dirs == nullptr)
        return errors::FailedPrecondition(
            "DeleteRecursively must not be called with `undeleted_files` or "
            "`undeleted_dirs` set to NULL");
    
      if (ops_->delete_recursively == nullptr)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/setup_venv_test.sh

    # 
    # This will create a venv with that wheel file installed in it, and a symlink
    # in ./venv_and_symlink_name/tensorflow to ./tensorflow. We use this for the
    # "pip" tests.
    
    python -m venv /$1
    mkdir -p $1
    rm -f ./$1/tensorflow
    ln -s $(ls /$1/lib) /$1/lib/python3
    ln -s ../tensorflow $1/tensorflow
    # extglob is necessary for @(a|b) pattern matching
    # see "extglob" in the bash manual page ($ man bash)
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

      ;;
    *)
      echo "Usage: $0 {devtoolset-9|devtoolset-10} <target-directory> <arch>"
      echo "Use 'devtoolset-9' to build a manylinux2014 compatible toolchain"
      exit 1
      ;;
    esac
    
    mkdir -p "${TARGET}"
    
    mkdir -p ${TARGET}/usr/include
    
    # Put the current kernel headers from ubuntu in place.
    ln -s "/usr/include/linux" "${TARGET}/usr/include/linux"
    ln -s "/usr/include/asm-generic" "${TARGET}/usr/include/asm-generic"
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Sep 29 00:26:34 GMT 2023
    - 6.1K bytes
    - Viewed (1)
  5. tensorflow/api_template.__init__.py

    _site_packages_dirs = []
    if _site.ENABLE_USER_SITE and _site.USER_SITE is not None:
      _site_packages_dirs += [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  6. ci/official/containers/linux_arm64/Dockerfile

    RUN groupadd -g 1001 buildslave && useradd -m -u 1001 -g buildslave buildslave
    RUN mkdir -p /tf/venv
    RUN chown -R buildslave:buildslave /tf
    RUN dpkg -i /patchelf/patchelf_0.14.3-1_arm64.deb
    
    # All lines past this point are reset when $CACHEBUSTER is set. We need this
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  7. ci/official/containers/linux_arm64/builder.patchelf/build_patchelf.sh

    # Need a newer version of patchelf as the installed version is buggy in 20.04
    # so get patchelf source from 22.04 ie 'jammy' and build it to avoid dependency
    # problems that would occur with a binary package
    
    mkdir -p /patchelf
    cd /patchelf
    echo deb-src http://ports.ubuntu.com/ubuntu-ports/ jammy universe>>/etc/apt/sources.list
    apt-get update
    apt-get -y build-dep patchelf/jammy
    apt-get -b source patchelf/jammy
    
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 15:53:15 GMT 2023
    - 1.2K bytes
    - Viewed (0)
  8. tensorflow/c/env.cc

      list->position = 0;
      return list;
    }
    
    TF_StringStream* TF_GetLocalTempDirectories() {
      auto* tmpdirs = new std::vector<::tensorflow::string>;
    
      ::tensorflow::Env::Default()->GetLocalTempDirectories(tmpdirs);
    
      auto* list = new TF_StringStream;
      list->list = tmpdirs;
      list->position = 0;
      return list;
    }
    
    char* TF_GetTempFileName(const char* extension) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  9. tensorflow/api_template_v1.__init__.py

    # Get sitepackages directories for the python installation.
    _site_packages_dirs = []
    _site_packages_dirs += [] if _site.USER_SITE is None else [_site.USER_SITE]
    _site_packages_dirs += [p for p in _sys.path if "site-packages" in p]
    if "getsitepackages" in dir(_site):
      _site_packages_dirs += _site.getsitepackages()
    
    if "sysconfig" in dir(_distutils):
      _site_packages_dirs += [_distutils.sysconfig.get_python_lib()]
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/devel.usertools/repack_libtensorflow.sh

      jar -xf "${tmp_dir}/orig.jar" src/
      # Extract any org/ files under src/main/java
      (mkdir -p src/main/java && cd src/main/java && jar -xf "${tmp_dir}/orig.jar" org/)
      # Repackage src/
      jar -cMf "${tmp_dir}/new.jar" src
      popd
      cp "${tmp_dir}/new.jar" "${dest_jar}"
      rm -rf "${tmp_dir}"
    }
    DIR=$1
    TARBALL_SUFFIX=$2
    mkdir -p "$DIR"
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 2.6K bytes
    - Viewed (0)
Back to top