Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 64 for abs8 (0.06 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

    """Defines a wrapper class for overridden python method definitions."""
    
    from collections.abc import Callable, Collection, Mapping, Sequence
    import functools
    import traceback
    from typing import Optional, TypeVar
    
    from absl import logging
    
    from tensorflow.compiler.mlir.quantization.stablehlo import quantization_config_pb2 as stablehlo_quant_config_pb2
    from tensorflow.compiler.mlir.quantization.tensorflow import exported_model_pb2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cfg/cfg.go

    	canonical := func(dir string) string {
    		if isSameDir(def, dir) {
    			return def
    		}
    		return dir
    	}
    
    	exe, err := os.Executable()
    	if err == nil {
    		exe, err = filepath.Abs(exe)
    		if err == nil {
    			// cmd/go may be installed in GOROOT/bin or GOROOT/bin/GOOS_GOARCH,
    			// depending on whether it was cross-compiled with a different
    			// GOHOSTOS (see https://go.dev/issue/62119). Try both.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

    # ==============================================================================
    """Defines TF Quantization API from SavedModel to SavedModel."""
    
    import tempfile
    from typing import Mapping, Optional
    
    from absl import logging
    
    from tensorflow.compiler.mlir.quantization.stablehlo import quantization_config_pb2 as stablehlo_quant_config_pb2
    from tensorflow.compiler.mlir.quantization.tensorflow import quantization_options_pb2 as quant_opts_pb2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

    #include "tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.h"
    
    #include <cstdint>
    #include <initializer_list>
    #include <optional>
    #include <utility>
    
    #include "absl/log/log.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/SCCIterator.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SetVector.h"
    #include "llvm/ADT/SmallSet.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/test/test.go

    int vabs(int x) {
    	puts("testLibgcc is disabled on ARM64 with clang due to lack of libgcc.");
    	return (x < 0) ? -x : x;
    }
    #else
    int __absvsi2(int); // dummy prototype for libgcc function
    // we shouldn't name the function abs, as gcc might use
    // the builtin one.
    int vabs(int x) { return __absvsi2(x); }
    #endif
    
    
    // issue 3729
    // access errno from void C function
    const char _expA = 0x42;
    const float _expB = 3.14159;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/PPC64Ops.go

    		{name: "FABS", argLength: 1, reg: fp11, asm: "FABS"},                                            // abs(arg0), float64
    		{name: "FNABS", argLength: 1, reg: fp11, asm: "FNABS"},                                          // -abs(arg0), float64
    		{name: "FCPSGN", argLength: 2, reg: fp21, asm: "FCPSGN"},                                        // copysign arg0 -> arg1, float64
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 43.8K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool-rebalance.go

    		return true
    	}
    
    	pfi := float64(poolStats.InitFreeSpace+poolStats.Bytes) / float64(poolStats.InitCapacity)
    	// Mark pool rebalance as done if within 5% from PercentFreeGoal.
    	if diff := math.Abs(pfi - r.PercentFreeGoal); diff <= 0.05 {
    		r.PoolStats[poolIdx].Info.Status = rebalCompleted
    		r.PoolStats[poolIdx].Info.EndTime = time.Now()
    		return true
    	}
    
    	return false
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  8. src/cmd/go/internal/fsys/fsys.go

    		return filepath.Clean(path)
    	}
    
    	if v := filepath.VolumeName(cwd); v != "" && path[0] == filepath.Separator {
    		// On Windows filepath.Join(cwd, path) doesn't always work. In general
    		// filepath.Abs needs to make a syscall on Windows. Elsewhere in cmd/go
    		// use filepath.Join(cwd, path), but cmd/go specifically supports Windows
    		// paths that start with "\" which implies the path is relative to the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:35:34 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  9. cmd/common-main.go

    			return nil, fmt.Errorf("missing option must be provided")
    		}
    		return nil, fmt.Errorf("provided option cannot be empty")
    	}
    
    	// Disallow relative paths, figure out absolute paths.
    	dirAbs, err := filepath.Abs(dir)
    	if err != nil {
    		return nil, err
    	}
    	err = mkdirAllIgnorePerm(dirAbs)
    	if err != nil {
    		return nil, fmt.Errorf("unable to create the directory `%s`: %w", dirAbs, err)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 31.5K bytes
    - Viewed (0)
  10. cmd/server-main.go

    var globalLoggerOutput io.WriteCloser
    
    func initializeLogRotate(ctx *cli.Context) (io.WriteCloser, error) {
    	lgDir := ctx.String("log-dir")
    	if lgDir == "" {
    		return os.Stderr, nil
    	}
    	lgDirAbs, err := filepath.Abs(lgDir)
    	if err != nil {
    		return nil, err
    	}
    	lgSize := ctx.Int("log-size")
    
    	var fileNameFunc func() string
    	if ctx.IsSet("log-prefix") {
    		fileNameFunc = func() string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 04 15:12:57 UTC 2024
    - 34.5K bytes
    - Viewed (1)
Back to top