Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 126 for setFoo (0.16 sec)

  1. tensorflow/compiler/jit/shape_inference.cc

            TensorShapeProto shape_proto;
            context->ShapeHandleToProto(handle, &shape_proto);
            if (!shape_proto.unknown_rank()) {
              NodeDef const_def;
              const_def.set_op("Const");
              Node* var_node;
              TF_RETURN_IF_ERROR(n->input_node(0, &var_node));
              const_def.set_name(
                  graph->NewName(absl::StrCat("var_shape_", var_node->name())));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/ComponentState.java

        }
    
        @Override
        public void addCause(ComponentSelectionDescriptorInternal componentSelectionDescriptor) {
            selectionCauses.add(componentSelectionDescriptor);
        }
    
        public void setRoot() {
            this.root = true;
        }
    
        @Override
        public List<ResolvedGraphVariant> getSelectedVariants() {
            ImmutableList.Builder<ResolvedGraphVariant> builder = ImmutableList.builder();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 02:21:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. tools/bug-report/pkg/content/content.go

    	out := *p
    	out.Namespace = namespace
    	return &out
    }
    
    func (p *Params) SetIstioNamespace(namespace string) *Params {
    	out := *p
    	out.IstioNamespace = namespace
    	return &out
    }
    
    func (p *Params) SetPod(pod string) *Params {
    	out := *p
    	out.Pod = pod
    	return &out
    }
    
    func (p *Params) SetContainer(container string) *Params {
    	out := *p
    	out.Container = container
    	return &out
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  4. src/encoding/xml/read.go

    		if err != nil {
    			return err
    		}
    		dst.SetFloat(ftmp)
    	case reflect.Bool:
    		if len(src) == 0 {
    			dst.SetBool(false)
    			return nil
    		}
    		value, err := strconv.ParseBool(strings.TrimSpace(string(src)))
    		if err != nil {
    			return err
    		}
    		dst.SetBool(value)
    	case reflect.String:
    		dst.SetString(string(src))
    	case reflect.Slice:
    		if len(src) == 0 {
    			// non-nil to flag presence
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 22.4K bytes
    - Viewed (0)
  5. schema/schema.go

    			switch methodValue.Type().String() {
    			case "func(*gorm.DB) error": // TODO hack
    				reflect.Indirect(reflect.ValueOf(schema)).FieldByName(string(cbName)).SetBool(true)
    			default:
    				logger.Default.Warn(context.Background(), "Model %v don't match %vInterface, should be `%v(*gorm.DB) error`. Please see https://gorm.io/docs/hooks.html", schema, cbName, cbName)
    			}
    		}
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/initialization/MixInLegacyTypesClassLoader.java

             * the converted classes only contain these kinds of constants.
             *
             * This is a mapping of the synthesized accessor name to the name of the backing field,
             * i.e. "getFOO" -> "FOO"
             */
            private Map<String, String> missingStaticStringConstantGetters = new HashMap<String, String>();
            private Set<String> booleanGetGetters = new HashSet<String>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 14:04:39 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. src/time/format.go

    		name, offset, _, _, _ := local.lookup(t.unixSec())
    		if offset == zoneOffset && (zoneName == "" || name == zoneName) {
    			t.setLoc(local)
    			return t, nil
    		}
    
    		// Otherwise create fake zone to record offset.
    		zoneNameCopy := stringslite.Clone(zoneName) // avoid leaking the input value
    		t.setLoc(FixedZone(zoneNameCopy, zoneOffset))
    		return t, nil
    	}
    
    	if zoneName != "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

              if (TF::TensorListSetItemOp set_op =
                      llvm::dyn_cast<TF::TensorListSetItemOp>(use.getOwner())) {
                element_shape = rewriter.create<TF::ShapeOp>(
                    op.getLoc(),
                    tensorflow::GetTypeFromTFTensorShape({-1}, shape_dtype),
                    set_op.getItem());
                element_shape_acquired = true;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  9. src/testing/quick/quick.go

    	if m, ok := reflect.Zero(t).Interface().(Generator); ok {
    		return m.Generate(rand, size), true
    	}
    
    	v := reflect.New(t).Elem()
    	switch concrete := t; concrete.Kind() {
    	case reflect.Bool:
    		v.SetBool(rand.Int()&1 == 0)
    	case reflect.Float32:
    		v.SetFloat(float64(randFloat32(rand)))
    	case reflect.Float64:
    		v.SetFloat(randFloat64(rand))
    	case reflect.Complex64:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. src/cmd/link/internal/arm/asm.go

    		got := ldr.MakeSymbolUpdater(syms.GOTPLT)
    		rel := ldr.MakeSymbolUpdater(syms.RelPLT)
    		if plt.Size() == 0 {
    			panic("plt is not set up")
    		}
    
    		// .got entry
    		ldr.SetGot(s, int32(got.Size()))
    
    		// In theory, all GOT should point to the first PLT entry,
    		// Linux/ARM's dynamic linker will do that for us, but FreeBSD/ARM's
    		// dynamic linker won't, so we'd better do it ourselves.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
Back to top