Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for typeName (0.5 sec)

  1. schema/relationship.go

    	polymorphic := field.TagSettings["POLYMORPHIC"]
    
    	relation.Polymorphic = &Polymorphic{
    		Value: schema.Table,
    	}
    
    	var (
    		typeName = polymorphic + "Type"
    		typeId   = polymorphic + "ID"
    	)
    
    	if value, ok := field.TagSettings["POLYMORPHICTYPE"]; ok {
    		typeName = strings.TrimSpace(value)
    	}
    
    	if value, ok := field.TagSettings["POLYMORPHICID"]; ok {
    		typeId = strings.TrimSpace(value)
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 03:46:59 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

    // The reduce_element_type is guaranteed to be a float, int, or complex type
    // suitable for use with GetScalarConstOfType or GetScalarLimitConstOfType.
    template <typename Derived, typename OpTy, typename ReductionOp,
              bool is_accumulation = true>
    class GenericConvertReductionOp : public OpRewritePattern<OpTy> {
      using OpRewritePattern<OpTy>::OpRewritePattern;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go

    				Type: r,
    			})
    		}
    		return &ast.FuncType{
    			Params: &ast.FieldList{
    				List: params,
    			},
    			Results: &ast.FieldList{
    				List: returns,
    			},
    		}
    	case interface{ Obj() *types.TypeName }: // *types.{Alias,Named,TypeParam}
    		if t.Obj().Pkg() == nil {
    			return ast.NewIdent(t.Obj().Name())
    		}
    		if t.Obj().Pkg() == pkg {
    			return ast.NewIdent(t.Obj().Name())
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  4. pkg/kube/krt/informer.go

    func WrapClient[I controllers.ComparableObject](c kclient.Informer[I], opts ...CollectionOption) Collection[I] {
    	o := buildCollectionOptions(opts...)
    	if o.name == "" {
    		o.name = fmt.Sprintf("NewInformer[%v]", ptr.TypeName[I]())
    	}
    	h := &informer[I]{
    		inf:            c,
    		log:            log.WithLabels("owner", o.name),
    		collectionName: o.name,
    		id:             nextUID(),
    		eventHandlers:  &handlers[I]{},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 11:01:46 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

          ArrayRef<Value>({size_leading_dim, partial_size}));
    
      return rewriter->create<TF::SliceOp>(loc, result_type, input_list,
                                           start_position, slice_size);
    }
    
    template <typename OpT>
    class TensorListOpConverterBase : public OpConversionPattern<OpT> {
     public:
      explicit TensorListOpConverterBase<OpT>(MLIRContext *context,
                                              bool allow_tensorlist_pass_through,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/api.go

    	//
    	// Invariant: Defs[id] == nil || Defs[id].Pos() == id.Pos()
    	Defs map[*syntax.Name]Object
    
    	// Uses maps identifiers to the objects they denote.
    	//
    	// For an embedded field, Uses returns the *TypeName it denotes.
    	//
    	// Invariant: Uses[id].Pos() != id.Pos()
    	Uses map[*syntax.Name]Object
    
    	// Implicits maps nodes to their implicitly declared objects, if any.
    	// The following node and object types may appear:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 13:48:53 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

        if (DeviceNameUtils::IsCompleteSpecification(spec, device))
          matching_devices.push_back(device);
      return matching_devices;
    }
    
    // Create error message for a conflicting attribute of a device.
    template <typename T>
    absl::Status MismatchedTPUSystemAttributeErr(absl::string_view attribute, T a,
                                                 T b) {
      return absl::InvalidArgumentError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

    std::unique_ptr<FlatBufferModel> ReadCustomOpTestModel() {
      auto model_path =
          tensorflow::io::JoinPath(*g_test_model_dir, internal::kModelWithCustomOp);
      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    template <typename T>
    std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {
      return std::vector<T>(vec->begin(), vec->end());
    }
    
    class QuantizeWeightsTest : public testing::Test {
     protected:
      QuantizeWeightsTest() {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

    using tensorflow::OpOrArgLocNameMapper;
    using tensorflow::OpOrArgNameMapper;
    using tensorflow::Status;
    using tflite::flex::IsAllowlistedFlexOp;
    
    template <typename T>
    using BufferOffset = flatbuffers::Offset<T>;
    
    template <typename T>
    using VectorBufferOffset = flatbuffers::Offset<flatbuffers::Vector<T>>;
    
    using CustomOptionsOffset = VectorBufferOffset<uint8_t>;
    
    namespace tfl = mlir::TFL;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/unify.go

    	switch x := x.(type) {
    	case *Basic:
    		// Basic types are singletons except for the rune and byte
    		// aliases, thus we cannot solely rely on the x == y check
    		// above. See also comment in TypeName.IsAlias.
    		if y, ok := y.(*Basic); ok {
    			return x.kind == y.kind
    		}
    
    	case *Array:
    		// Two array types unify if they have the same array length
    		// and their element types unify.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top