- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 900 for absY (0.39 sec)
-
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc
Operation *module) { // Find the op names with tf or tfl dialect prefix, Ex: "tf.Abs" or "tfl.Abs". auto collectOps = [this](Operation *op) { const auto &op_name = op->getName().getStringRef().str(); if (absl::StartsWith(op_name, "tf.") || absl::StartsWith(op_name, "tfl.")) { loc_to_name_.emplace(op->getLoc(), op_name); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 5.3K bytes - Viewed (0) -
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) -
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) -
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) -
src/math/log1p.go
return NaN() case x == -1: return Inf(-1) case IsInf(x, 1): return Inf(1) } absx := Abs(x) var f float64 var iu uint64 k := 1 if absx < Sqrt2M1 { // |x| < Sqrt(2)-1 if absx < Small { // |x| < 2**-29 if absx < Tiny { // |x| < 2**-54 return x } return x - x*x*0.5 } if x > Sqrt2HalfM1 { // Sqrt(2)/2-1 < x
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 11:59:09 UTC 2023 - 6.3K bytes - Viewed (0) -
src/internal/fuzz/mutator.go
} v -= float64(1 + m.rand(int(max))) return v case 2: // Multiply by a random number absV := math.Abs(v) if v == 0 || absV >= maxValue { continue } max = 10 if maxValue/absV < max { // Don't let v go beyond the minimum or maximum value max = maxValue / absV } v *= float64(1 + m.rand(int(max))) return v case 3: // Divide by a random number
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 20:01:34 UTC 2023 - 6.6K bytes - Viewed (0) -
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) -
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) -
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) -
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)