Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 79 for typekind (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/ir/tpu_embedding_ops_registry.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tpu_embedding_ops_registry.h"
    
    #include <vector>
    
    namespace mlir {
    namespace TF {
    
    const llvm::SmallDenseSet<mlir::TypeID>&
    TPUEmbeddingOpsRegistry::GetOpsTypeIds() {
      return ops_type_ids_;
    }
    
    // static
    TPUEmbeddingOpsRegistry& TPUEmbeddingOpsRegistry::Global() {
      static TPUEmbeddingOpsRegistry* registry = new TPUEmbeddingOpsRegistry;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 14 05:42:28 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/cpu_hardware.cc

               kCrossHardwareTransferFixedCost;
      }
    
      mlir::RewritePatternSet GetTransformations(
          MLIRContext* context) const override {
        return {context};
      }
    
      mlir::TypeID GetTypeId() const override {
        return mlir::TypeID::get<CpuHardware>();
      }
    
      bool IsOpSupported(mlir::Operation* op) const override {
        // All ops in TFL dialect are supported on CPU.
        if (op->getDialect() == nullptr) return false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/runtime_fallback/runtime_fallback_ops.cc

    // TfrtDelegate Dialect
    //===----------------------------------------------------------------------===//
    
    RuntimeFallbackDialect::RuntimeFallbackDialect(MLIRContext *context)
        : Dialect(/*name=*/"tfd", context, TypeID::get<RuntimeFallbackDialect>()) {
      allowUnknownTypes();
    
      allowUnknownOperations();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/runtime_fallback_ops.cc.inc"
          >();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jul 20 20:56:11 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/gpu_ops.cc

    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.h"
    
    namespace tfrt {
    namespace gpu {
    
    GpuRuntimeDialect::GpuRuntimeDialect(MLIRContext *context)
        : Dialect(/*name=*/"gpurt", context, TypeID::get<GpuRuntimeDialect>()) {
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/gpu_ops.cpp.inc"
          >();
    }
    
    }  // namespace gpu
    }  // namespace tfrt
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 00:21:42 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/unfuse_mhlo_batch_norm.cc

    #include <utility>
    
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "mlir/Transforms/GreedyPatternRewriteDriver.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h"
    #include "xla/mlir_hlo/mhlo/transforms/rewriters.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 06:28:12 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.cc

    namespace tensorflow {
    namespace tf_mlrt_tpu {
    
    TensorflowMlrtTpuDialect::TensorflowMlrtTpuDialect(mlir::MLIRContext *context)
        : mlir::Dialect(/*name=*/"tf_mlrt_tpu", context,
                        mlir::TypeID::get<TensorflowMlrtTpuDialect>()) {
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.cpp.inc"
          >();
    }
    
    }  // namespace tf_mlrt_tpu
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/optimize_graph.cc

    #include <utility>
    
    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "mlir/Transforms/GreedyPatternRewriteDriver.h"  // from @llvm-project
    #include "stablehlo/dialect/StablehloOps.h"  // from @stablehlo  // IWYU pragma: keep
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Dec 21 20:11:52 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top