Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 147 for retval (0.17 sec)

  1. pkg/bootstrap/config.go

    	for _, e := range envs {
    		if !shouldExtract(e, prefix) {
    			continue
    		}
    		v := e[metaPrefixLen:]
    		if !isEnvVar(v) {
    			continue
    		}
    		metaKey, metaVal := parseEnvVar(v)
    		set(meta, metaKey, metaVal)
    	}
    }
    
    func shouldExtract(envVar, prefix string) bool {
    	return strings.HasPrefix(envVar, prefix)
    }
    
    func isEnvVar(str string) bool {
    	return strings.Contains(str, "=")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  2. pkg/config/analysis/msg/messages.gen.go

    // NewReferencedResourceNotFound returns a new diag.Message based on ReferencedResourceNotFound.
    func NewReferencedResourceNotFound(r *resource.Instance, reftype string, refval string) diag.Message {
    	return diag.NewMessage(
    		ReferencedResourceNotFound,
    		r,
    		reftype,
    		refval,
    	)
    }
    
    // NewNamespaceNotInjected returns a new diag.Message based on NamespaceNotInjected.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tensor_list_ops_decomposition.mlir

      // CHECK-NEXT: %[[SIZE:.*]] = "tf.Reshape"(%[[NUM]], %[[SIZE_SHAPE]])
      %tl = "tf.TensorListReserve"(%elem_shape, %num) : (tensor<0xi32>, tensor<i32>) -> tensor<!tf_type.variant<tensor<f32>>>
      // CHECK-NEXT: %[[SETVAL:.*]] = "tf._SomeOp"()
      %elem = "tf._SomeOp"() : () -> tensor<f32>
      // CHECK-NEXT: %[[SIZE_SHAPE1:.*]] = "tf.Const"() <{value = dense<1> : tensor<1xi32>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 38.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

    static const char kImportModelDefaultGraphFuncName[] = "main";
    
    // Please refer to the TFG dialect description for the list of used attributes.
    // Belows are the attributes in TFE.
    // TFE Arguments and Results (Got from "_Arg",
    // "_Retval", .etc)
    //  NodeDef.device <-> "tf.device"
    //  NodeDef.attr <-> "tf."
    //
    // TFE general operations
    //  NodeDef.device <-> "device"
    //
    // The following two functions are only used for mapping/excluding attributes
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. pkg/config/analysis/msg/messages.yaml

        code: IST0101
        level: Error
        description: "A resource being referenced does not exist."
        template: "Referenced %s not found: %q"
        args:
          - name: reftype
            type: string
          - name: refval
            type: string
    
      - name: "NamespaceNotInjected"
        code: IST0102
        level: Info
        description: "A namespace is not enabled for Istio injection."
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/riscv/obj.go

    	high = signExtend(high, 20)
    
    	return low, high, nil
    }
    
    func regVal(r, min, max uint32) uint32 {
    	if r < min || r > max {
    		panic(fmt.Sprintf("register out of range, want %d <= %d <= %d", min, r, max))
    	}
    	return r - min
    }
    
    // regI returns an integer register.
    func regI(r uint32) uint32 {
    	return regVal(r, REG_X0, REG_X31)
    }
    
    // regF returns a float register.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 07 03:32:27 UTC 2024
    - 77K bytes
    - Viewed (0)
  7. src/go/types/expr.go

    // This ensures that constants of different kind but equal value (such as
    // 1.0 + 0i, 1.0, 1) result in the same value.
    func keyVal(x constant.Value) interface{} {
    	switch x.Kind() {
    	case constant.Complex:
    		f := constant.ToFloat(x)
    		if f.Kind() != constant.Float {
    			r, _ := constant.Float64Val(constant.Real(x))
    			i, _ := constant.Float64Val(constant.Imag(x))
    			return complex(r, i)
    		}
    		x = f
    		fallthrough
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  8. internal/config/config.go

    		for _, delKey := range strings.Fields(inputs[1]) {
    			_, ok := currKVS.Lookup(delKey)
    			if !ok {
    				return Error[ErrConfigNotFound]("key %s doesn't exist", delKey)
    			}
    			defVal, isDef := defKVS.Lookup(delKey)
    			if isDef {
    				currKVS.Set(delKey, defVal)
    			} else {
    				currKVS.Delete(delKey)
    			}
    		}
    		c[subSys][tgt] = currKVS
    	} else {
    		delete(c[subSys], tgt)
    	}
    	return nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 37.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

        mlir::OperationName name = inner_op->getName();
        if (!name.isRegistered() &&
            // Skip unmodelled ops that are handled differently.
            (node_type_name != "_Arg" && node_type_name != "_Retval") &&
            !unmodelled_op_names_.count(name.getIdentifier())) {
          if (node.op_def().is_stateful()) {
            VLOG(1) << "[potentially conservative] Op type `" << node.type_string()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          "XlaVariadicReduce",
          "XlaVariadicReduceV2",
          "XlaVariadicSort",
          "XlaWhile",
          "Zeta",
          "_Arg",
          "_ArrayToList",
          "_ListToArray",
          "_Retval"};
      return result;
    }
    
    }  // namespace testing
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top