Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 569 for TypeId (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.h

    #include "mlir/IR/Types.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    
    namespace mlir {
    namespace TF {
    
    // Returns whether type can be further refined.
    bool CanBeRefined(Type type);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.h

    class GpuHardware : public TargetHardware {
     public:
      static constexpr char kId[] = "GPU";
      mlir::RewritePatternSet GetTransformations(
          MLIRContext* context) const override;
    
      mlir::TypeID GetTypeId() const override {
        return mlir::TypeID::get<GpuHardware>();
      }
    
      double GetHardwareSwitchingCost(const TargetHardware* from,
                                      size_t buffer_size) const override;
    };
    }  // namespace tac
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 27 15:05:02 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/examples/example_hardware.h

     public:
      static constexpr char kId[] = "ExampleHardware";
    
      mlir::RewritePatternSet GetTransformations(
          MLIRContext* context) const override;
    
      mlir::TypeID GetTypeId() const override {
        return mlir::TypeID::get<ExampleHardware>();
      }
    
      bool IsNotSupportedOp(mlir::Operation* op) const override { return false; }
    
      float AdvantageOverCPU() const override { return 5.0; }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 27 15:05:02 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/nnapi_hardware.h

     public:
      static constexpr char kId[] = "NNAPI";
    
      mlir::RewritePatternSet GetTransformations(
          MLIRContext* context) const override;
    
      mlir::TypeID GetTypeId() const override {
        return mlir::TypeID::get<NNAPIHardware>();
      }
    
      bool IsNotSupportedOp(mlir::Operation* op) const override { return false; }
    
      float AdvantageOverCPU() const override { return 5.0; }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 27 15:05:02 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h

      // A hook may use the public addOperations() method to add additional
      // operations to the dialect. Hooks will only apply to subsequent
      // instantations of the Dialect/MLIRContext.
      static void RegisterAdditionalOperationHook(TypeID uniqueId,
                                                  AdditionalOpFunction fn);
    
      // Re-define publicly the protected addOperations() method from the Dialect
      // class, usually used in a Dialect constructor. This allows hook
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. src/runtime/race/testdata/regression_test.go

    }
    
    type Image struct {
    	min, max Rect
    }
    
    //go:noinline
    func NewImage() Image {
    	return Image{}
    }
    
    func AddrOfTemp() {
    	_ = NewImage().min
    }
    
    type TypeID int
    
    func (t *TypeID) encodeType(x int) (tt TypeID, err error) {
    	switch x {
    	case 0:
    		return t.encodeType(x * x)
    	}
    	return 0, nil
    }
    
    type stack []int
    
    func (s *stack) push(x int) {
    	*s = append(*s, x)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 02:01:34 UTC 2015
    - 2.7K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/aether/TypeRegistryAdapter.java

        TypeRegistryAdapter(TypeRegistry typeRegistry) {
            this.typeRegistry = requireNonNull(typeRegistry, "typeRegistry");
        }
    
        @Override
        public ArtifactType get(String typeId) {
            Type type = typeRegistry.require(typeId);
            if (type instanceof ArtifactType) {
                return (ArtifactType) type;
            }
            if (type != null) {
                return new DefaultType(
                        type.id(),
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 17:18:13 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

    // These are invoked at construction time.
    static DenseMap<TypeID, TensorFlowDialect::AdditionalOpFunction>
        &GetAdditionalOperationHooks() {
      static auto *additional_operation_hooks =
          new DenseMap<TypeID, TensorFlowDialect::AdditionalOpFunction>();
      return *additional_operation_hooks;
    }
    
    void TensorFlowDialect::RegisterAdditionalOperationHook(
        TypeID id, AdditionalOpFunction fn) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

        "such as a random number generator.";
    
    // TODO(b/282188914) remove the operations to skip once tests are fixed.
    static const DenseSet<mlir::TypeID>* operations_to_skip =
        new DenseSet<mlir::TypeID>{mlir::TypeID::get<mhlo::EinsumOp>()};
    
    class VerifyTFXLALegalization
        : public impl::VerifyTFXLALegalizationBase<VerifyTFXLALegalization> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. src/encoding/gob/decode.go

    	}
    	return &op
    }
    
    var maxIgnoreNestingDepth = 10000
    
    // decIgnoreOpFor returns the decoding op for a field that has no destination.
    func (dec *Decoder) decIgnoreOpFor(wireId typeId, inProgress map[typeId]*decOp, depth int) *decOp {
    	if depth > maxIgnoreNestingDepth {
    		error_(errors.New("invalid nesting depth"))
    	}
    	// If this type is already in progress, it's a recursive type (e.g. map[string]*T).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:10:23 UTC 2023
    - 40.1K bytes
    - Viewed (0)
Back to top