Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 235 for fanout (0.11 sec)

  1. src/internal/trace/testdata/testprog/annotations-stress.go

    	defer t.End()
    
    	trace.Log(ctx, "log2", "do")
    
    	// Create a region and spawn more tasks and more workers.
    	trace.WithRegion(ctx, "fanout", func() {
    		for i := 0; i < k; i++ {
    			go func(i int) {
    				trace.WithRegion(ctx, fmt.Sprintf("region%d", i), func() {
    					trace.Logf(ctx, "log", "fanout region%d", i)
    					if i == 2 {
    						do(ctx, 0)
    						return
    					}
    				})
    			}(i)
    		}
    	})
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/order_by_dialect.mlir

      "z.a"(%arg0) : (f32) -> ()
      func.return %arg0 : f32
    }
    // CHECK: x.a
    // CHECK: y.a
    // CHECK: z.a
    // CHECK: return
    // CHECK-NOT: call
    // CHECK: }
    
    // -----
    
    // CHECK-LABEL: @fanout
    func.func @fanout(%arg0: f32) -> (f32) attributes {ignore_side_effects_for_testing} {
      %0 = "x.a"(%arg0) : (f32) -> (f32)
      %1 = "y.a"(%0) : (f32) -> (f32)
      %2 = "y.b"(%0) : (f32) -> (f32)
      %3 = "y.c"(%0) : (f32) -> (f32)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/adjust-layout.mlir

    func.func @infeed_dequeue_tuple() -> (tensor<1x8x4x4xi32>, tensor<1x100x1xf32>) {
      // CHECK: [[TOKEN:%.*]] = mhlo.create_token : !mhlo.token
      %0 = "mhlo.create_token"() : () -> !mhlo.token
    
      // CHECK:               [[INFEED:%.*]]:3 = "mhlo.infeed"([[TOKEN]]) <{
      // CHECK-SAME{LITERAL}:   infeed_config = "", layout = [[1, 3, 2, 0], [1, 2, 0]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 817 bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/initialization/layout/BuildLayoutFactoryTest.groovy

            expect:
            def layout = locator.getLayoutFor(currentDir, tmpDir.testDirectory)
            layout.rootDirectory == currentDir
            layout.settingsDir == currentDir
            layout.settingsFile == new File(currentDir, "settings.gradle") // this is the current behaviour
            layout.buildDefinitionMissing
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 09:18:31 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/providers/services/kotlin/settings.gradle.kts

    import org.gradle.initialization.layout.BuildLayout
    
    rootProject.name = "services"
    
    // tag::build-layout[]
    println("Root Directory: ${settings.layout.rootDirectory}")
    println("Settings Directory: ${settings.layout.settingsDirectory}")
    // end::build-layout[]
    
    // tag::build-layout-inject[]
    abstract class MyBuildLayoutPlugin @Inject constructor(private val buildLayout: BuildLayout) : Plugin<Settings> {
        override fun apply(settings: Settings) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 559 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

        if (succeeded(layout)) {
          minor_to_major = layout.value();
        } else {
          /* If we're not running on a TPU node, we might not be able to
           * actually call the part of the TPU API that gives us layout.
           * This happens e.g. for unit tests. Below we just create a reasonable
           * layout.  We sort by dimension size, which makes the layout agree with
           * the "correct" TPU layout in surprisingly many cases.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/initialization/layout/BuildLayoutFactory.java

            if (settingsFile != null) {
                return layout(currentDir, settingsFile);
            }
            for (File candidate = currentDir.getParentFile(); candidate != null && !candidate.equals(stopAt); candidate = candidate.getParentFile()) {
                settingsFile = findExistingSettingsFileIn(candidate);
                if (settingsFile != null) {
                    return layout(candidate, settingsFile);
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/providers/services/kotlin/build.gradle.kts

            outputDirectory.convention(project.layout.projectDirectory)
            println(outputDirectory.get())
        }
    }
    
    tasks.register("myInjectedObjectFactoryTask", MyObjectFactoryTask::class) {}
    // end::object-factory-inject[]
    
    
    // tag::project-layout[]
    tasks.register("showLayout") {
        doLast {
            val layout = project.layout
            println("Project Directory: ${layout.projectDirectory}")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

                return useForStateLoad { layout -> action(layout.fileFor(stateType)) }
            }
    
            override fun <T : Any> useForStateLoad(action: (Layout) -> T): T {
                return withExclusiveAccessToCache(baseDir) { cacheDir ->
                    action(ReadableLayout(cacheDir))
                }
            }
    
            override fun <T> useForStore(action: (Layout) -> T): T =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/providers/services/groovy/settings.gradle

    rootProject.name = 'services'
    
    // tag::build-layout[]
    println "Root Directory: ${settings.getLayout().rootDirectory}"
    println "Settings Directory: ${settings.getLayout().settingsDirectory}"
    // end::build-layout[]
    
    // tag::build-layout-inject[]
    abstract class MyBuildLayoutPlugin implements Plugin<Settings> {
        private BuildLayout buildLayout
    
        @Inject //@javax.inject.Inject
        MyBuildLayoutPlugin(BuildLayout buildLayout) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 686 bytes
    - Viewed (0)
Back to top