Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,564 for remapping (0.15 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

            reduce_op.getInitValues()[0], new_window_dimensions, new_window_strides,
            new_base_dilations, new_win_dilations, new_padding_attr);
        IRMapping mapping;
        reduce_op.getBody().cloneInto(&new_reduce_op.getBody(), mapping);
    
        Value orig_reduce_op =
            CreateTranspose(rewriter, new_reduce_op->getResult(0), transpose_perm);
        rewriter.replaceOp(reduce_op, orig_reduce_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. pkg/controller/garbagecollector/operations.go

    	fqKind := schema.FromAPIVersionAndKind(apiVersion, kind)
    	mapping, err := gc.restMapper.RESTMapping(fqKind.GroupKind(), fqKind.Version)
    	if err != nil {
    		return schema.GroupVersionResource{}, false, newRESTMappingError(kind, apiVersion)
    	}
    	return mapping.Resource, mapping.Scope == meta.RESTScopeNamespace, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 13:37:56 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_test_context.go

    		for _, mapping := range paramMappings {
    			// Skip if it is in the scheme already
    			if scheme.Recognizes(mapping.GroupVersionKind) {
    				continue
    			}
    			scheme.AddKnownTypeWithName(mapping.GroupVersionKind, &unstructured.Unstructured{})
    			scheme.AddKnownTypeWithName(mapping.GroupVersionKind.GroupVersion().WithKind(mapping.GroupVersionKind.Kind+"List"), &unstructured.UnstructuredList{})
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 19K bytes
    - Viewed (0)
  4. src/internal/zstd/fse.go

    		}
    
    		count--
    		if count >= 0 {
    			remaining -= count
    		} else {
    			remaining--
    		}
    		if sym >= 256 {
    			return 0, 0, br.makeError("FSE sym overflow")
    		}
    		norm[uint8(sym)] = int16(count)
    		sym++
    
    		prev0 = count == 0
    
    		for remaining < threshold {
    			bitsNeeded--
    			threshold >>= 1
    		}
    	}
    
    	if remaining != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 16:44:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_source.go

    	if paramSource == nil {
    		return nil, nil, nil
    	} else if info, ok := s.paramsCRDControllers[*paramSource]; ok {
    		return info.informer, info.mapping.Scope, nil
    	}
    
    	mapping, err := s.restMapper.RESTMapping(schema.GroupKind{
    		Group: paramSource.Group,
    		Kind:  paramSource.Kind,
    	}, paramSource.Version)
    
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 23:07:34 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

      target_func.setType(FunctionType::get(target_func.getContext(),
                                            block.getArgumentTypes(),
                                            func_type.getResults()));
    
      IRMapping mapping;
      OpBuilder builder(module_op);
      OpBuilder::InsertionGuard g(builder);
      // The function has been checked to have at least one use.
      auto function_uses =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/api/meta/restmapper.go

    // version should be used to access the named group/kind.
    func (m *DefaultRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*RESTMapping, error) {
    	mappings, err := m.RESTMappings(gk, versions...)
    	if err != nil {
    		return nil, err
    	}
    	if len(mappings) == 0 {
    		return nil, &NoKindMatchError{GroupKind: gk, SearchedVersions: versions}
    	}
    	// since we rely on RESTMappings method
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 17 01:55:47 UTC 2021
    - 16.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_arguments.cc

      }
      Operation* new_op = builder.create(state);
      for (const auto& indexed_regions : llvm::enumerate(op->getRegions())) {
        Region& region = op->getRegion(indexed_regions.index());
        IRMapping mapping;
        indexed_regions.value().cloneInto(&region, mapping);
      }
      int new_position = 0;
      for (auto result : op->getResults()) {
        if (!erase[result.getResultNumber()]) {
          result.replaceAllUsesWith(new_op->getResult(new_position++));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

      using DialectInlinerInterface::DialectInlinerInterface;
      bool isLegalToInline(mlir::Operation *op, mlir::Region *dest,
                           bool would_be_cloned,
                           mlir::IRMapping &mapping) const final {
        // All tf_mlrt dialect ops can be inlined.
        return true;
      }
      // Note that CallOp and ReturnOp are handled by func; so need to implement
      // handleTerminator.
    };
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

      using DialectInlinerInterface::DialectInlinerInterface;
      bool isLegalToInline(mlir::Operation *op, mlir::Region *dest,
                           bool would_be_cloned,
                           mlir::IRMapping &mapping) const final {
        // All mlrt dialect ops can be inlined.
        return true;
      }
    };
    
    }  // namespace
    
    MlrtDialect::MlrtDialect(mlir::MLIRContext *context)
        : mlir::Dialect(/*name=*/"mlrt", context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top