Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for encode (0.16 sec)

  1. configure.py

      def maybe_encode_env(env):
        """Encodes unicode in env to str on Windows python 2.x."""
        if not is_windows() or sys.version_info[0] != 2:
          return env
        for k, v in env.items():
          if isinstance(k, unicode):
            k = k.encode('ascii')
          if isinstance(v, unicode):
            v = v.encode('ascii')
          env[k] = v
        return env
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  2. ci/official/code_check_full.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Feb 06 17:29:44 GMT 2024
    - 840 bytes
    - Viewed (0)
  3. ci/official/utilities/code_check_changed_files.bats

            git diff --diff-filter ACMRT --name-only origin/master > $BATS_FILE_TMPDIR/changed_files
        fi
    }
    
    # Note: this is excluded on the full code base, since any submitted code must
    # have passed Google's internal style guidelines.
    @test "Check buildifier formatting on BUILD files" {
        echo "buildifier formatting is recommended. Here are the suggested fixes:"
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jan 10 19:39:41 GMT 2024
    - 4K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

    EOF
      cat $BATS_TEST_TMPDIR/out
      [[ ! -s $BATS_TEST_TMPDIR/out ]]
    }
    
    @test "All tensorflow.org/code links point to real files" {
        for i in $(grep -onI 'https://www.tensorflow.org/code/[a-zA-Z0-9/._-]\+' -r tensorflow); do
            target=$(echo $i | sed 's!.*https://www.tensorflow.org/code/!!g')
    
            if [[ ! -f $target ]] && [[ ! -d $target ]]; then
                echo "$i" >> errors.txt
            fi
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  5. RELEASE.md

            algorithm.
        *   Add `unicode_encode`, `unicode_decode`, `unicode_decode_with_offsets`,
            `unicode_split`, `unicode_split_with_offset`, and `unicode_transcode`
            ops. Amongst other things, this Op adds the ability to encode, decode,
            and transcode a variety of input text encoding formats into the main
            Unicode encodings (UTF-8, UTF-16-BE, UTF-32-BE)
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. ci/official/code_check_changed_files.sh

    # limitations under the License.
    # ==============================================================================
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Oct 05 18:41:59 GMT 2023
    - 850 bytes
    - Viewed (0)
  7. SECURITY.md

    programs that TensorFlow executes. TensorFlow programs are encoded as
    computation
    [**graphs**](https://developers.google.com/machine-learning/glossary/#graph).
    Since models are practically programs that TensorFlow executes, using untrusted
    models or graphs is equivalent to running untrusted code.
    
    If you need to run untrusted models, execute them inside a
    [**sandbox**](https://developers.google.com/code-sandboxing). Memory corruptions
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Sun Oct 01 06:06:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// Since filesystem plugins are outside of TensorFlow's code tree, they are not
    /// tied with TensorFlow releases and should have their own versioning metadata
    /// in addition with the data discussed in this section. Each plugin author can
    /// use a custom scheme, but it should only relate to changes in plugin code.
    /// This section only touches metadata related to the versioning of this
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  9. ci/official/utilities/code_check_full.bats

    EOF
      cat $BATS_TEST_TMPDIR/out
      [[ ! -s $BATS_TEST_TMPDIR/out ]]
    }
    
    @test "All tensorflow.org/code links point to real files" {
        for i in $(grep -onI 'https://www.tensorflow.org/code/[a-zA-Z0-9/._-]\+' -r tensorflow); do
            target=$(echo $i | sed 's!.*https://www.tensorflow.org/code/!!g')
    
            if [[ ! -f $target ]] && [[ ! -d $target ]]; then
                echo "$i" >> errors.txt
            fi
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    +++ b/sysdeps/unix/sysv/linux/if_index.c
    @@ -38,12 +38,19 @@ __if_nametoindex (const char *ifname)
       return 0;
     #else
       struct ifreq ifr;
    +  if (strlen (ifname) >= IFNAMSIZ)
    +    {
    +      __set_errno (ENODEV);
    +      return 0;
    +    }
    +
    +  strncpy (ifr.ifr_name, ifname, sizeof (ifr.ifr_name));
    +
       int fd = __opensock ();
     
       if (fd < 0)
         return 0;
     
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
Back to top