Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 234 for abs8 (0.14 sec)

  1. src/image/png/writer.go

    	for i := 0; i < n; i++ {
    		cdat2[i] = cdat0[i] - pdat[i]
    		sum += abs8(cdat2[i])
    	}
    	best := sum
    	filter := ftUp
    
    	// The Paeth filter.
    	sum = 0
    	for i := 0; i < bpp; i++ {
    		cdat4[i] = cdat0[i] - pdat[i]
    		sum += abs8(cdat4[i])
    	}
    	for i := bpp; i < n; i++ {
    		cdat4[i] = cdat0[i] - paeth(cdat0[i-bpp], pdat[i], pdat[i-bpp])
    		sum += abs8(cdat4[i])
    		if sum >= best {
    			break
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

    #include <cmath>
    #include <cstdint>
    #include <functional>
    #include <memory>
    #include <string>
    #include <type_traits>
    #include <utility>
    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/container/flat_hash_set.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/Support/Casting.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

            op.emitError(
                "extended power of 2 scale is only supported for 16-bit"
                " quantization.");
            return failure();
          }
    
          double bound = PowerOfTwoBound(std::max(std::abs(min), std::abs(max)));
          // Set flags to 1 for signed type.
          quant_type = UniformQuantizedType::getChecked(
              op.getLoc(), quant::QuantizationFlags::Signed,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc

    #include <utility>
    #include <vector>
    
    #include "absl/algorithm/container.h"
    #include "absl/base/attributes.h"
    #include "absl/container/flat_hash_map.h"
    #include "absl/container/flat_hash_set.h"
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/strings/match.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/str_join.h"
    #include "absl/strings/string_view.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/BUILD

            "@com_google_absl//absl/algorithm:container",
            "@com_google_absl//absl/base:core_headers",
            "@com_google_absl//absl/container:flat_hash_map",
            "@com_google_absl//absl/container:flat_hash_set",
            "@com_google_absl//absl/log",
            "@com_google_absl//absl/status",
            "@com_google_absl//absl/status:statusor",
            "@com_google_absl//absl/strings",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 17K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    #include <algorithm>
    #include <cstdint>
    #include <iterator>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.cc

    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/algorithm/container.h"
    #include "absl/container/flat_hash_map.h"
    #include "absl/container/flat_hash_set.h"
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "absl/types/span.h"
    #include "llvm/ADT/SmallVector.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. tensorflow/c/eager/dlpack.cc

          return absl::OkStatus();
    
        case DLDataTypeCode::kDLUInt:
          switch (dtype.bits) {
            case 8:
              *tf_dtype = TF_DataType::TF_UINT8;
              return absl::OkStatus();
            case 16:
              *tf_dtype = TF_DataType::TF_UINT16;
              return absl::OkStatus();
            case 32:
              *tf_dtype = TF_DataType::TF_UINT32;
              return absl::OkStatus();
            case 64:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/pjrt_device_context.cc

        VLOG(2) << "CopyCPUTensorToDevice empty tensor";
        done(absl::OkStatus());
        return;
      }
    
      absl::StatusOr<xla::PjRtClient*> pjrt_client =
          GetOrCreatePjRtClient(DeviceType(device->device_type()));
      if (!pjrt_client.ok()) {
        done(pjrt_client.status());
        return;
      }
      absl::StatusOr<std::unique_ptr<xla::PjRtBuffer>> buffer_or =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:49:31 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/translate/BUILD

            "@com_google_absl//absl/algorithm:container",
            "@com_google_absl//absl/base:core_headers",
            "@com_google_absl//absl/container:flat_hash_map",
            "@com_google_absl//absl/container:flat_hash_set",
            "@com_google_absl//absl/container:inlined_vector",
            "@com_google_absl//absl/strings",
            "@com_google_absl//absl/synchronization",
            "@llvm-project//llvm:Support",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 11K bytes
    - Viewed (0)
Back to top