Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 569 for TypeId (0.11 sec)

  1. src/encoding/gob/doc.go

    connection between an [Encoder] and [Decoder], it is assigned a signed integer type
    id. When [Encoder.Encode](v) is called, it makes sure there is an id assigned for
    the type of v and all its elements and then it sends the pair (typeid, encoded-v)
    where typeid is the type id of the encoded type of v and encoded-v is the gob
    encoding of the value v.
    
    To define a type, the encoder chooses an unused, positive type id and sends the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_experimental.cc

            "The output variant hasn't been initialized");
      }
    
      if (a.TypeId() != b.TypeId()) {
        return ::tensorflow::errors::Internal(
            "BinaryOpVariants: Variants a and b have different "
            "type ids.  Type names: '",
            a.TypeName(), "' vs. '", b.TypeName(), "'");
      }
    
      if (a.TypeId() == tensorflow::TypeIndex::Make<::tensorflow::TensorList>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/lite/experimental/tac/README.md

        patterns.add<LowerPackIntoConcatReshape, UnrollSplit, UnrollSplitV,
                      PadSlice>(context);
        return patterns;
      }
    
      mlir::TypeID GetTypeId() const override {
        return mlir::TypeID::get<FooHardware>();
      }
    
      // We can specify what ops are not supported here.
      bool IsNotSupportedOp(mlir::Operation* op) const override { return false; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 29 18:32:13 UTC 2022
    - 11.6K 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