Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for typecast (0.22 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

    }
    
    static mlir::Attribute BuildI64ArrayAttr(std::vector<int32_t> value,
                                             mlir::Builder builder) {
      std::vector<int64_t> typecast(value.begin(), value.end());
      return builder.getI64ArrayAttr(typecast);
    }
    
    static mlir::Attribute BuildVhloBooleanV1Attr(bool value,
                                                  mlir::Builder builder) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  2. tensorflow/cc/saved_model/fingerprinting_utils.cc

                  a.at(i).map_key();
              switch (key.type_case()) {
                case ::tensorflow::proto_splitter::FieldIndex::MapKey::TypeCase::kS:
                  if (chunked_key.has_s() && chunked_key.s() == key.s()) {
                    matches += 1;
                  }
                  break;
                case ::tensorflow::proto_splitter::FieldIndex::MapKey::TypeCase::
                    kBoolean:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 22:19:55 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  3. test/typeparam/typelist.go

    cui fliter <******@****.***> 1711120077 +0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 09:04:48 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. src/go/types/typelists.go

    	}
    	return l.tparams
    }
    
    // TypeList holds a list of types.
    type TypeList struct{ types []Type }
    
    // newTypeList returns a new TypeList with the types in list.
    func newTypeList(list []Type) *TypeList {
    	if len(list) == 0 {
    		return nil
    	}
    	return &TypeList{list}
    }
    
    // Len returns the number of types in the list.
    // It is safe to call on a nil receiver.
    func (l *TypeList) Len() int { return len(l.list()) }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  5. src/runtime/alg.go

    		// typehash, but we want to report the topmost type in
    		// the error text (e.g. in a struct with a field of slice type
    		// we want to report the struct, not the slice).
    		panic(errorString("hash of unhashable type " + toRType(t).string()))
    	}
    	if isDirectIface(t) {
    		return c1 * typehash(t, unsafe.Pointer(&a.data), h^c0)
    	} else {
    		return c1 * typehash(t, a.data, h^c0)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  6. src/go/types/typestring.go

    				w.string(f.pkg.Path())
    				w.string(" */ ")
    			}
    			if tag := t.Tag(i); tag != "" {
    				w.byte(' ')
    				// TODO(gri) If tag contains blanks, replacing them with '#'
    				//           in Context.TypeHash may produce another tag
    				//           accidentally.
    				w.string(strconv.Quote(tag))
    			}
    		}
    		w.byte('}')
    
    	case *Pointer:
    		w.byte('*')
    		w.typ(t.base)
    
    	case *Tuple:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.h

    // The MLIR type represents a C++ mlrt::Future.
    class FutureType
        : public mlir::Type::TypeBase<FutureType, mlir::Type, mlir::TypeStorage> {
     public:
      using Base::Base;
      static constexpr mlir::StringLiteral name = "mlrt.compiler.future";
    };
    
    // The MLIR type represents a C++ mlrt::Promise.
    class PromiseType
        : public mlir::Type::TypeBase<PromiseType, mlir::Type, mlir::TypeStorage> {
     public:
      using Base::Base;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/typestring.go

    				w.string(f.pkg.Path())
    				w.string(" */ ")
    			}
    			if tag := t.Tag(i); tag != "" {
    				w.byte(' ')
    				// TODO(gri) If tag contains blanks, replacing them with '#'
    				//           in Context.TypeHash may produce another tag
    				//           accidentally.
    				w.string(strconv.Quote(tag))
    			}
    		}
    		w.byte('}')
    
    	case *Pointer:
    		w.byte('*')
    		w.typ(t.base)
    
    	case *Tuple:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/binding/DefaultStructBindingsStore.java

        }
    
        private static void validateManagedType(StructBindingValidationProblemCollector problems, Class<?> typeClass) {
            if (!typeClass.isInterface() && !Modifier.isAbstract(typeClass.getModifiers())) {
                problems.add("Must be defined as an interface or an abstract class.");
            }
    
            if (typeClass.getTypeParameters().length > 0) {
                problems.add("Cannot be a parameterized type.");
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 29.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/testFixtures/groovy/org/gradle/model/internal/fixture/ModelRegistryHelper.java

        }
    
        public static <T> ModelType<RuleAwarePolymorphicNamedEntityInstantiator<T>> instantiatorType(Class<T> typeClass) {
            return new ModelType.Builder<RuleAwarePolymorphicNamedEntityInstantiator<T>>() {
            }.where(new ModelType.Parameter<T>() {
            }, ModelType.of(typeClass)).build();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top