Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 5,806 for consts (0.12 sec)

  1. src/go/types/package.go

    func (pkg *Package) GoVersion() string { return pkg.goVersion }
    
    // Scope returns the (complete or incomplete) package scope
    // holding the objects declared at package level (TypeNames,
    // Consts, Vars, and Funcs).
    // For a nil pkg receiver, Scope returns the Universe scope.
    func (pkg *Package) Scope() *Scope {
    	if pkg != nil {
    		return pkg.scope
    	}
    	return Universe
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/core/v1/well_known_labels.go

    	LabelFailureDomainBetaRegion = "failure-domain.beta.kubernetes.io/region" // deprecated
    
    	// Retained for compat when vendored.  Do not use these consts in new code.
    	LabelZoneFailureDomain       = LabelFailureDomainBetaZone   // deprecated
    	LabelZoneRegion              = LabelFailureDomainBetaRegion // deprecated
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 19 00:36:22 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. src/runtime/defs_freebsd.go

    #include <sys/param.h>
    #include <sys/vdso.h>
    */
    import "C"
    
    // Local consts.
    const (
    	_NBBY            = C.NBBY            // Number of bits in a byte.
    	_CTL_MAXNAME     = C.CTL_MAXNAME     // Largest number of components supported.
    	_CPU_LEVEL_WHICH = C.CPU_LEVEL_WHICH // Actual mask/id for which.
    	_CPU_WHICH_PID   = C.CPU_WHICH_PID   // Specifies a process id.
    )
    
    const (
    	EINTR     = C.EINTR
    	EFAULT    = C.EFAULT
    	EAGAIN    = C.EAGAIN
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

    }
    
    }  // namespace
    
    absl::Status CompileTensorflowGraphToHlo(
        const std::variant<tpu::MlirToHloArgs, tpu::FunctionToHloArgs>& computation,
        const tpu::TPUCompileMetadataProto& metadata, bool use_tuple_args,
        const XlaShapeLayoutHelpers::ShapeDeterminationFns
            shape_determination_funcs,
        const std::vector<tensorflow::TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

    namespace tac {
    namespace {
    
    // This pass is used to fold tfl.const ops to each subgraph (func::FuncOp):
    // See the example below:
    //
    // In main:
    // %0 = tfl.const...
    // %1 = tfl.const...
    // %2 = call func_1(..., %0,...)
    // %3 = call func_2(..., %0, ..., %1...)
    // ...
    //
    // Then those consts will be copied into each function and replace their usage.
    // func_1:
    //   %0 = tfl.const...
    // func_2:
    //   %0 = tfl.const...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. pkg/test/framework/tools/featuresgen/cmd/root.go

    func init() {
    	rootCmd.Flags().StringVarP(&input, "inputFile", "i", "features.yaml", "the YAML file to use as input")
    	rootCmd.Flags().StringVarP(&output, "outputFile", "o", "features.gen.go", "output Go file with labels as string consts")
    }
    
    // Parses a map in the yaml file
    func readMap(m map[any]any, path []string) []string {
    	var labels []string
    	for k, v := range m {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  7. src/go/doc/reader.go

    	// imports
    	imports      map[string]int
    	hasDotImp    bool // if set, package contains a dot import
    	importByName map[string]string
    
    	// declarations
    	values []*Value // consts and vars
    	order  int      // sort order of const and var declarations (when we can't use a name)
    	types  map[string]*namedType
    	funcs  methodSet
    
    	// support for package-local shadowing of predeclared types
    	shadowedPredecl map[string]bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc

    // Creates a 1D string array constant for "shape_and_slices" input of
    // `RestoreV2` op. The `ConstOp` will be created at `builder`'s current
    // insertion point. It will be filled with `size` empty strings.
    TF::ConstOp CreateShapeAndSlicesConst(const int size, OpBuilder& builder) {
      const SmallVector<std::string> shape_and_slices_values(size, /*Value=*/"");
    
      const auto loc = NameLoc::get(builder.getStringAttr("shape_and_slices"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

    class QuantizeConstWeights : public OpRewritePattern<TF::ConstOp> {
     public:
      explicit QuantizeConstWeights(
          MLIRContext* context,
          const tensorflow::quantization::QuantizationOptions& quantization_options)
          : OpRewritePattern<TF::ConstOp>(context),
            quant_options_(quantization_options) {}
    
      LogicalResult matchAndRewrite(TF::ConstOp op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/sha3/shake.go

    	// by the method specified in 3.3 of [1].
    	// It is stored here in order for Reset() to be able to put context into
    	// initial state.
    	initBlock []byte
    }
    
    // Consts for configuring initial SHA-3 state
    const (
    	dsbyteShake  = 0x1f
    	dsbyteCShake = 0x04
    	rate128      = 168
    	rate256      = 136
    )
    
    func bytepad(input []byte, w int) []byte {
    	// leftEncode always returns max 9 bytes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top