Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for bits (0.16 sec)

  1. tensorflow/c/eager/dlpack_test.cc

      EXPECT_EQ(dltensor_out->ndim, dltensor_in->ndim);
      EXPECT_EQ(dltensor_out->dtype.code, dltensor_in->dtype.code);
      EXPECT_EQ(dltensor_out->dtype.bits, dltensor_in->dtype.bits);
      EXPECT_EQ(dltensor_out->dtype.lanes, dltensor_in->dtype.lanes);
      for (int i = 0; i < dltensor_in->ndim; ++i) {
        EXPECT_EQ(dltensor_out->shape[i], dltensor_in->shape[i]);
        if (dltensor_out->strides) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index 98c080b..843bd45 100644
    --- a/locale/xlocale.h
    +++ b/locale/xlocale.h
    @@ -20,6 +20,9 @@
     #ifndef _XLOCALE_H
     #define _XLOCALE_H	1
     
    +#ifndef _BITS_TYPES___LOCALE_T_H
    +#define _BITS_TYPES___LOCALE_T_H 1
    +
     /* Structure for reentrant locale using functions.  This is an
        (almost) opaque type for the user level programs.  The file and
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

      comm -2 -3 $BATS_TEST_TMPDIR/expected_licenses $BATS_TEST_TMPDIR/actual_licenses | grep -v -f $BATS_TEST_TMPDIR/allowed_to_be_missing > $BATS_TEST_TMPDIR/actual_missing_licenses || true
    
      if [[ -s $BATS_TEST_TMPDIR/actual_extra_licenses ]]; then
        echo "Please remove the following extra licenses from $LICENSES_TARGET:"
        cat $BATS_TEST_TMPDIR/actual_extra_licenses
      fi
    
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/Dockerfile

    # Install various tools.
    # - bats: bash unit testing framework
    #         NOTE: v1.6.0 seems to have a bug that made "git" in setup_file break
    # - bazelisk: always use the correct bazel version
    # - buildifier: clean bazel build deps
    # - buildozer: clean bazel build deps
    RUN git clone --branch v1.7.0 https://github.com/bats-core/bats-core.git && bats-core/install.sh /usr/local && rm -rf bats-core
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/gradients/nn_grad.cc

        TF_RETURN_IF_ERROR(forward_attrs_.Get("data_format", &data_format));
    
        // Grad for A
        grad_inputs[0] = upstream_grad;
        grad_inputs[0]->Ref();
    
        // Grad for bias
        std::string name = "bias_add_grad";
        TF_RETURN_IF_ERROR(BiasAddGrad(ctx, upstream_grad, &grad_inputs[1],
                                       data_format.c_str(), name.c_str()));
    
        return absl::OkStatus();
      }
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/c/eager/dlpack.cc

      switch (dtype.code) {
        case DLDataTypeCode::kDLBool:
          if (dtype.bits != 8) {
            return tensorflow::errors::InvalidArgument(
                "Only DLPack bools of bitwidth 8 are supported, got: ", dtype.bits);
          }
          *tf_dtype = TF_DataType::TF_BOOL;
          return absl::OkStatus();
    
        case DLDataTypeCode::kDLUInt:
          switch (dtype.bits) {
            case 8:
              *tf_dtype = TF_DataType::TF_UINT8;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/devel.usertools/code_check_changed_files.bats

        echo "============================="
        grep -e '\.h$' -e '\.cc$' $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -i -n1 -P $(nproc --all) \
            bash -c 'clang-format-12 --style=Google {} | git diff --no-index {} -' \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

     	goto no_more_room;
    diff --git a/string/bits/string2.h b/string/bits/string2.h
    index c9bf593..f461fc1 100644
    --- a/string/bits/string2.h
    +++ b/string/bits/string2.h
    @@ -47,29 +47,7 @@
     #endif
     
     #if _STRING_ARCH_unaligned
    -/* If we can do unaligned memory accesses we must know the endianess.  */
    -# include <endian.h>
     # include <bits/types.h>
    -
    -# if __BYTE_ORDER == __LITTLE_ENDIAN
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  9. ci/official/utilities/code_check_changed_files.bats

        echo "============================="
        grep -e '\.h$' -e '\.cc$' $BATS_FILE_TMPDIR/changed_files > $BATS_TEST_TMPDIR/files || true
        if [[ ! -s $BATS_TEST_TMPDIR/files ]]; then return 0; fi
        xargs -a $BATS_TEST_TMPDIR/files -i -n1 -P $(nproc --all) \
            bash -c 'clang-format-12 --style=Google {} | git diff --no-index {} -' \
            | tee $BATS_TEST_TMPDIR/needs_help.txt
    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)
  10. tensorflow/c/experimental/gradients/nn_grad_test.cc

        A.reset(A_raw);
      }
      // Bias
      float Bias_vals[] = {2.0f, 3.0f};
      int64_t Bias_dims[] = {2};
      AbstractTensorHandlePtr Bias;
      {
        AbstractTensorHandle* Bias_raw;
        status_ = TestTensorHandleWithDims<float, TF_FLOAT>(
            immediate_execution_ctx_.get(), Bias_vals, Bias_dims, 1, &Bias_raw);
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
        Bias.reset(Bias_raw);
      }
    
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
Back to top