Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 621 for abs8 (0.17 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. test/codegen/math.go

    }
    
    // Check that it's using integer registers
    func abs(x, y float64) {
    	// amd64:"BTRQ\t[$]63"
    	// arm64:"FABSD\t"
    	// s390x:"LPDFR\t",-"MOVD\t"     (no integer load/store)
    	// ppc64x:"FABS\t"
    	// riscv64:"FABSD\t"
    	// wasm:"F64Abs"
    	// arm/6:"ABSD\t"
    	// mips64/hardfloat:"ABSD\t"
    	// mips/hardfloat:"ABSD\t"
    	sink64[0] = math.Abs(x)
    
    	// amd64:"BTRQ\t[$]63","PXOR"    (TODO: this should be BTSQ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradient_checker.cc

      }
    }
    
    // Runs model as is if output is a scalar,
    // else sums the output tensor before returning.
    Status RunAndMaybeSum(AbstractContext* ctx, Model forward,
                          absl::Span<AbstractTensorHandle* const> inputs,
                          absl::Span<AbstractTensorHandle*> outputs,
                          bool use_function) {
      AbstractTensorHandle* model_outputs[1];
    
      // Run the model.
      TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/loong64/anames.go

    // Code generated by stringer -i a.out.go -o anames.go -p loong64; DO NOT EDIT.
    
    package loong64
    
    import "cmd/internal/obj"
    
    var Anames = []string{
    	obj.A_ARCHSPECIFIC: "ABSD",
    	"ABSF",
    	"ADD",
    	"ADDD",
    	"ADDF",
    	"ADDU",
    	"ADDW",
    	"AND",
    	"BEQ",
    	"BGEZ",
    	"BLEZ",
    	"BGTZ",
    	"BLTZ",
    	"BFPF",
    	"BFPT",
    	"BNE",
    	"BREAK",
    	"CLO",
    	"CLZ",
    	"CMPEQD",
    	"CMPEQF",
    	"CMPGED",
    	"CMPGEF",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/quantization/stablehlo/cc/io.cc

        return absl::InternalError(
            absl::StrFormat("Failed to create tmp dir: '%s'", tmp_dir));
      }
    
      return tmp_dir;
    }
    
    absl::StatusOr<std::string> CreateTmpDir() {
      // The overloaded function uses the default env.
      return CreateTmpDir(tsl::Env::Default());
    }
    
    absl::Status WriteStringToFile(const absl::string_view file_path,
                                   const absl::string_view data) {
      auto* env = tsl::Env::Default();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/mangling_util.cc

    const char kTensorPrefix[] = "tftensor$";
    
    }  // namespace
    
    string MangleAttributeName(absl::string_view str) {
      return absl::StrCat(kAttributePrefix, str);
    }
    
    bool IsMangledAttributeName(absl::string_view str) {
      return absl::StartsWith(str, kAttributePrefix);
    }
    
    absl::string_view DemangleAttributeName(absl::string_view str) {
      DCHECK(IsMangledAttributeName(str));
      return str.substr(std::strlen(kAttributePrefix));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/io_test.cc

    #include <cstdint>
    #include <fstream>
    #include <string>
    #include <vector>
    
    #include <gmock/gmock.h>
    #include <gtest/gtest.h>
    #include "absl/functional/any_invocable.h"
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    #include "tsl/platform/env.h"
    #include "tsl/platform/file_system.h"
    #include "tsl/platform/status_matchers.h"
    #include "tsl/platform/types.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 03:28:15 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                << absl::StrJoin(vexcludelist, " ");
      }
      return excludelist;
    }
    
    absl::flat_hash_set<string> GetOrCreateAllowlist() {
      absl::flat_hash_map<string, std::vector<string>>* allowlist_table =
          tensorflow::GetAllowlistTable();
      MarkForCompilationPassFlags* flags = GetMarkForCompilationPassFlags();
      absl::flat_hash_set<string> allowlist;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top