Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,513 for mlit (0.07 sec)

  1. test/map.go

    }
    
    func main() {
    	testbasic()
    	testfloat()
    	testnan()
    }
    
    func testbasic() {
    	// Test a map literal.
    	mlit := map[string]int{"0": 0, "1": 1, "2": 2, "3": 3, "4": 4}
    	for i := 0; i < len(mlit); i++ {
    		s := string([]byte{byte(i) + '0'})
    		if mlit[s] != i {
    			panic(fmt.Sprintf("mlit[%s] = %d\n", s, mlit[s]))
    		}
    	}
    
    	mib := make(map[int]bool)
    	mii := make(map[int]int)
    	mfi := make(map[float32]int)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 06 21:02:55 UTC 2014
    - 14.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/python/mlir.cc

      RegisterPasses();
      mlir::DialectRegistry registry;
      mlir::RegisterAllTensorFlowDialects(registry);
      mlir::stablehlo::registerAllDialects(registry);
      registry.insert<mlir::shape::ShapeDialect>();
      mlir::MLIRContext context(registry);
      mlir::OwningOpRef<mlir::ModuleOp> module;
      {
        mlir::StatusScopedDiagnosticHandler diagnostic_handler(&context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/mlrt/fuse_mlrt_ops.mlir

    // CHECK-LABEL: @main
    // CHECK-SAME: ([[f0:%.*]]: !mlrt.async_handle, [[f1:%.*]]: !mlrt.async_handle, [[f2:%.*]]: !mlrt.async_handle)
    func.func @main(%f0: !mlrt.async_handle, %f1: !mlrt.async_handle, %f2: !mlrt.async_handle) -> () {
      // CHECK-NEXT: mlrt.await_all_handle [[f0]], [[f1]], [[f2]]
      // CHECK-NOT: mlrt.await_handle
      // CHECK-NEXT: return
      mlrt.await_handle %f0
      mlrt.await_handle %f1
      mlrt.await_handle %f2
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 07 23:57:30 UTC 2023
    - 3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/mlrt/tf_to_mlrt.mlir

        (!mlrt.promise, !mlrt.promise, !mlrt.promise,
         !mlrt.future, !mlrt.future, !mlrt.future)
    
      // CHECK: [[handle_0:%.*]] = mlrt.async([[input0]], [[promises]]#0)
      // CHECK-SAME: callee = @main_stream_0
      %handle_0 = mlrt.async(%input0, %promise_b)
        {callee = @main_stream_0} :
        (tensor<i32>, !mlrt.promise) -> !mlrt.async_handle
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/mlrt/async_while.mlir

      %1:9 = "tf.While"(%cst_0, %max_iterations, %array_handle, %array_flow, %matrix , %array_handle, %array_flow, %matrix, %bound) {body= @"sort_map/while_body", cond = @"sort_map/while_cond",...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/mlrt/parallelization.mlir

    // CHECK: mlrt.async([[FUTURES]]#0) {callee = @main_stream_1
    // CHECK: mlrt.await_handle
    // CHECK: mlrt.await_handle
    // CHECK: mlrt.await_handle
    // CHECK: mlrt.await_handle
    
    func.func @main() {
      "tf.DummySideEffecting"() {id = 1} : () -> ()
      "tf.DummySideEffecting"() {id = 2} : () -> ()
      "tf.DummySideEffecting"() {id = 3} : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 15K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/python/mlir.h

    // Migrated from previous SWIG file (mlir.i) authored by aminim@.
    #ifndef TENSORFLOW_COMPILER_MLIR_PYTHON_MLIR_H_
    #define TENSORFLOW_COMPILER_MLIR_PYTHON_MLIR_H_
    
    #include <string>
    #include <vector>
    
    #include "absl/strings/string_view.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/tf_status.h"
    
    namespace tensorflow {
    
    // Simple wrapper to support tf.mlir.experimental.convert_graph_def.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 23:44:01 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/add.mlir

    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: -tf-xla-emit-return-tuple | FileCheck %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: -tf-xla-emit-use-tuple-args -tf-xla-emit-return-tuple | FileCheck -check-prefix=TUPLE-ARGS %s
    // RUN: tf-mlir-translate -mlir-tf-to-hlo-text %s -tf-input-shapes=: | FileCheck -check-prefix=NO_RET_TUPLE %s
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 23 18:56:13 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/optional_symbol_ref.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s | tf-mlir-translate -graphdef-to-mlir | tf-mlir-translate -mlir-to-graphdef | FileCheck %s
    
    // Verifies that optional symbol ref attributes that aren't optional in TensorFlow are handled by setting the value to an empty string.
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 458 : i32}} {
      func.func @main() {
        tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 967 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/fetch_feed_names.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s | tf-mlir-translate -graphdef-to-mlir
    
    // Test graphdef export is producing valid GraphDef. The test imports the
    // generated GraphDef to make sure the export is valid.
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 890 : i32}}  {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 25 12:28:56 UTC 2022
    - 3K bytes
    - Viewed (0)
Back to top