Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 67 for typefix (0.24 sec)

  1. src/unique/clone_test.go

    	testCloneSeq[testStruct](t, cSeq(8))
    }
    
    func cSeq(stringOffsets ...uintptr) cloneSeq {
    	return cloneSeq{stringOffsets: stringOffsets}
    }
    
    func testCloneSeq[T any](t *testing.T, want cloneSeq) {
    	typName := reflect.TypeFor[T]().Name()
    	typ := abi.TypeOf(*new(T))
    	t.Run(typName, func(t *testing.T) {
    		got := makeCloneSeq(typ)
    		if !reflect.DeepEqual(got, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc

    #include "mlir/Support/LLVM.h"  // from @llvm-project
    
    namespace tfrt {
    namespace fallback {
    
    FallbackDialect::FallbackDialect(MLIRContext *context)
        : Dialect(/*name=*/"tfrt_fallback", context,
                  TypeID::get<FallbackDialect>()) {
      addTypes<TFTensorType, TFAllocatorType>();
    
      addOperations<
    #define GET_OP_LIST
    #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cpp.inc"
          >();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.cc

    namespace tfrt {
    namespace fallback_sync {
    
    FallbackSyncDialect::FallbackSyncDialect(MLIRContext *context)
        : Dialect(/*name=*/"tfrt_fallback_sync", context,
                  TypeID::get<FallbackSyncDialect>()) {
      context->getOrLoadDialect<tfrt::fallback::FallbackDialect>();
      context->getOrLoadDialect<compiler::TFRTDialect>();
      context->getOrLoadDialect<corert::CoreRTDialect>();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 01:32:39 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/shlo_simplify.cc

    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/Pass/Pass.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: Fri May 10 03:05:20 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/unique/handle_test.go

    		s: [2]testStringStruct{testStringStruct{"y"}, testStringStruct{"z"}},
    	})
    	testHandle[testStruct](t, testStruct{0.5, "184"})
    }
    
    func testHandle[T comparable](t *testing.T, value T) {
    	name := reflect.TypeFor[T]().Name()
    	t.Run(fmt.Sprintf("%s/%#v", name, value), func(t *testing.T) {
    		t.Parallel()
    
    		v0 := Make(value)
    		v1 := Make(value)
    
    		if v0.Value() != v1.Value() {
    			t.Error("v0.Value != v1.Value")
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 18:14:07 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_pass.cc

    #include "mlir/Pass/PassRegistry.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
    #include "mlir/Transforms/DialectConversion.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass.cc

    #include "llvm/ADT/DenseSet.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Visitors.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Support/TypeID.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.h"
    #include "tensorflow/core/lib/monitoring/counter.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 08:55:35 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

        // All mlrt dialect ops can be inlined.
        return true;
      }
    };
    
    }  // namespace
    
    MlrtDialect::MlrtDialect(mlir::MLIRContext *context)
        : mlir::Dialect(/*name=*/"mlrt", context,
                        mlir::TypeID::get<MlrtDialect>()) {
      addTypes<FutureType>();
      addTypes<PromiseType>();
      addTypes<AsyncHandleType>();
      addInterfaces<MlrtInlinerInterface>();
    
      addOperations<
    #define GET_OP_LIST
    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