Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,647 for pconstants (0.33 sec)

  1. tensorflow/compiler/jit/clone_constants_for_better_clustering.cc

        if (dim.size() < 0) {
          return errors::Internal("Unknown dimension size in constant tensor ",
                                  n->name());
        }
        total_elements *= dim.size();
      }
    
      // TODO(sanjoy): It may make sense to combine this threshold with XLA's "large
      // constant" threshold, if there is one.
      const int kSmallTensorThreshold = 16;
      return total_elements < kSmallTensorThreshold;
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. src/go/types/api.go

    // identifier, and use the Implicits field of [Info] to find the
    // symbol for certain other kinds of syntax node.
    //
    // Constant folding computes the exact constant value
    // ([constant.Value]) of every expression ([ast.Expr]) that is a
    // compile-time constant. Use the Types field of [Info] to find the
    // results of constant folding for an expression.
    //
    // Type deduction computes the type ([Type]) of every expression
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/cmd/internal/obj/arm64/a.out.go

    	C_MOVCON   // generated by a 16-bit constant, optionally inverted and/or shifted by multiple of 16
    	C_BITCON   // bitfield and logical immediate masks
    	C_ADDCON2  // 24-bit constant
    	C_LCON     // 32-bit constant
    	C_MOVCON2  // a constant that can be loaded with one MOVZ/MOVN and one MOVK
    	C_MOVCON3  // a constant that can be loaded with one MOVZ/MOVN and two MOVKs
    	C_VCON     // 64-bit constant
    	C_FCON     // floating-point constant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 17:56:30 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/conversions.go

    					cause = check.sprintf("constant %s overflows %s (in %s)", x.val, u, T)
    				} else {
    					cause = check.sprintf("cannot convert %s to type %s (in %s)", x, u, T)
    				}
    				return false
    			}
    			return true
    		})
    		x.mode = value // type parameters are not constants
    	case x.convertibleTo(check, T, &cause):
    		// non-constant conversion
    		ok = true
    		x.mode = value
    	}
    
    	if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. src/hash/crc32/gen_const_ppc64le.go

    // This code was written in Go based on the original C implementation.
    
    // This is a tool needed to generate the appropriate constants needed for
    // the vpmsum algorithm.  It is included to generate new constant tables if
    // new polynomial values are included in the future.
    
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"os"
    )
    
    var blocking = 32 * 1024
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 20:44:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        // constant ops.
        pass_manager->addPass(mlir::tf_saved_model::CreateFreezeGlobalTensorsPass(
            /*allow_mutable_tensors=*/pass_config.enable_tflite_variables));
      }
    
      if (!saved_model_dir.empty()) {
        // This pass 'freezes' tf saved model asset ops and inlines as string values
        // in a format of the tf constant op.
        pass_manager->addPass(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. src/go/types/const.go

    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    func fitsFloat64(x constant.Value) bool {
    	f, _ := constant.Float64Val(x)
    	return !math.IsInf(f, 0)
    }
    
    func roundFloat64(x constant.Value) constant.Value {
    	f, _ := constant.Float64Val(x)
    	if !math.IsInf(f, 0) {
    		return constant.MakeFloat64(f)
    	}
    	return nil
    }
    
    // representable checks that a constant operand is representable in the given
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/certs/renewal/manager.go

    			rm.cfg.CertificatesDir, kubeadmconstants.CACertAndKeyBaseName)
    
    		// adds the certificateRenewHandler.
    		// Certificates embedded kubeConfig files in are indexed by fileName, that is a well know constant defined
    		// in the kubeadm constants package and that can be reused across all the kubeadm codebase
    		rm.certificates[kubeConfig.fileName] = &CertificateRenewHandler{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 15K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/typecheck.go

    		x := r.Val()
    		if constant.Sign(x) < 0 {
    			base.Errorf("invalid slice index %v (index must be non-negative)", r)
    			return false
    		} else if tp != nil && tp.NumElem() >= 0 && constant.Compare(x, token.GTR, constant.MakeInt64(tp.NumElem())) {
    			base.Errorf("invalid slice index %v (out of bounds for %d-element array)", r, tp.NumElem())
    			return false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/upgrade/compute_test.go

    const fakeCurrentEtcdVersion = "3.1.12"
    
    func getEtcdVersion(v *versionutil.Version) string {
    	etcdVer, _, _ := constants.EtcdSupportedVersion(constants.SupportedEtcdVersion, v.String())
    	return etcdVer.String()
    }
    
    const fakeCurrentCoreDNSVersion = "1.0.6"
    
    func TestGetAvailableUpgrades(t *testing.T) {
    
    	// constansts for test cases
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 08:39:51 UTC 2024
    - 34.1K bytes
    - Viewed (0)
Back to top