Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for arithmetic (0.22 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_op_interfaces.td

    // TFL arithmetic count interface.
    
    def TFL_ArithmeticCount : OpInterface<"TflArithmeticCountOpInterface"> {
      let description = [{
        Interface for TFLite ops to calculate arithmetic count (Multiply-Add Count).
      }];
    
      let methods = [
        StaticInterfaceMethod<
          [{Returns an integer representing the op's arithmetic count (Multiply-Add
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

    LogicalResult VerifyTypeRangesAreCompatible(Operation *op,
                                                TypeRangeWithDesc range0,
                                                TypeRangeWithDesc range1);
    
    // Fold Arithmetic Op if one of the operands is a constant known to be an
    // Identity (e.g. X+0, X*1, etc...). For commutative operations fold if
    // known identity value is either lhs or rhs.
    template <
        typename OpT,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. src/runtime/checkptr.go

    	return checkptrBase(ptr) != checkptrBase(end)
    }
    
    func checkptrArithmetic(p unsafe.Pointer, originals []unsafe.Pointer) {
    	if 0 < uintptr(p) && uintptr(p) < minLegalPointer {
    		throw("checkptr: pointer arithmetic computed bad pointer value")
    	}
    
    	// Check that if the computed pointer p points into a heap
    	// object, then one of the original pointers must have pointed
    	// into the same object.
    	base := checkptrBase(p)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. test/codegen/floats.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package codegen
    
    // This file contains codegen tests related to arithmetic
    // simplifications and optimizations on float types.
    // For codegen tests on integer types, see arithmetic.go.
    
    // --------------------- //
    //    Strength-reduce    //
    // --------------------- //
    
    func Mul2(f float64) float64 {
    	// 386/sse2:"ADDSD",-"MULSD"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 15:24:29 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go

    				return true
    			}
    		}
    	}
    
    	// "(3) Conversion of a Pointer to a uintptr and back, with arithmetic."
    	return isSafeArith(info, x)
    }
    
    // isSafeArith reports whether x is a pointer arithmetic expression that is safe
    // to convert to unsafe.Pointer.
    func isSafeArith(info *types.Info, x ast.Expr) bool {
    	switch x := astutil.Unparen(x).(type) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/python/converter_python_api.h

    // representing the contents of the converted model. When extended_return
    // flag is set to true returns a dictionary that contains string representation
    // of the converted model and some statistics like arithmetic ops count.
    // `debug_info_str` contains the `GraphDebugInfo` proto. When
    // `enable_mlir_converter` is True, use MLIR-based conversion instead of
    // TOCO conversion.
    PyObject* Convert(PyObject* model_flags_proto_txt_raw,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h

    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace mlir {
    namespace odml {
    
    // Creates a pass which unfuses MHLO batch norm inference op into arithmetic
    // ops.
    std::unique_ptr<Pass> createUnfuseBatchNormPass();
    
    // Creates a pass which constant folds broadcast_in_dim op conditionally.
    std::unique_ptr<Pass> createFoldBroadcastPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/python/converter_python_api_wrapper.cc

          representing the contents of the converted model. When extended_return
          flag is set to true returns a dictionary that contains string representation
          of the converted model and some statistics like arithmetic ops count.
          `debug_info_str` contains the `GraphDebugInfo` proto. When
          `enable_mlir_converter` is True, tuse MLIR-based conversion instead of
          TOCO conversion.
        )pbdoc");
      m.def(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 18:18:30 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  9. src/go/types/hilbert_test.go

    }
    
    func program(n int, out string) []byte {
    	var g gen
    
    	g.p(`// Code generated by: go test -run=Hilbert -H=%d -out=%q. DO NOT EDIT.
    
    // +`+`build ignore
    
    // This program tests arbitrary precision constant arithmetic
    // by generating the constant elements of a Hilbert matrix H,
    // its inverse I, and the product P = H*I. The product should
    // be the identity matrix.
    package main
    
    func main() {
    	if !ok {
    		printProduct()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc

      // Zero point computation.
      // In float, solve the affine equation for any known pair
      // (real value, corresponding quantized value), of which, two such pairs
      // are known: (rmin, qmin), (rmax, qmax).
      // The arithmetic error on the zero point computed from either pair will be
      // roughly machine_epsilon * (sum of absolute values of terms).
      // Use the variant that adds the smaller error.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top