Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 290 for yield4x (0.54 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

          "tf.Yield"(%1) : (tensor<i1>) -> ()
      }, {
        ^bb0(%arg2: tensor<i32>, %arg3: tensor<128x1024xf32>):
          %1 = "tf.XlaSharding"(%arg3) <{_XlaSharding = "\0A\0B\0C", sharding = "\0A\0B\0C"}> {unspecified_dims = []} : (tensor<128x1024xf32>) -> tensor<128x1024xf32>
          %2 = "tf.Square"(%1) : (tensor<128x1024xf32>) -> tensor<128x1024xf32>
          "tf.Yield"(%arg2, %2) : (tensor<i32>, tensor<128x1024xf32>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

              tf_device.return %c, %b : tensor<f32>, tensor<i32>
            }) {device = "CPU:0"} : () -> (tensor<f32>, tensor<i32>)
            %d = "tf.opD"() : () -> tensor<i1>
            tf_executor.yield %a, %launch#0, %launch#1, %d :
                              tensor<i1>, tensor<f32>, tensor<i32>, tensor<i1>
          }
        ```
    
        Will be transformed into:
    
        ```mlir
          %island:5 = tf_executor.island {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc

        for (auto& use : argument.getUses()) {
          if (llvm::isa<func::ReturnOp, TF::YieldOp>(use.getOwner())) {
            erase_indices.set(use.getOperandNumber());
          }
        }
        func.getArgument(arg_index).dropAllUses();
      }
      if (llvm::isa<func::ReturnOp, TF::YieldOp>(func.front().getTerminator())) {
        terminator->eraseOperands(erase_indices);
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 09:56:53 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-problems-base/src/main/kotlin/org/gradle/internal/configuration/problems/PropertyProblem.kt

            append(s)
            append('`')
        }
    
        val sequence: Sequence<PropertyTrace>
            get() = sequence {
                var trace = this@PropertyTrace
                while (true) {
                    yield(trace)
                    trace = trace.tail ?: break
                }
            }
    
        private
        val tail: PropertyTrace?
            get() = when (this) {
                is Bean -> trace
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 21:59:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. fastapi/datastructures.py

            """
            return await super().close()
    
        @classmethod
        def __get_validators__(cls: Type["UploadFile"]) -> Iterable[Callable[..., Any]]:
            yield cls.validate
    
        @classmethod
        def validate(cls: Type["UploadFile"], v: Any) -> Any:
            if not isinstance(v, StarletteUploadFile):
                raise ValueError(f"Expected UploadFile, received: {type(v)}")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc

      std::unique_ptr<Variable> var;
      ASSERT_NE(absl::OkStatus(),
                internal::LoadSavedVariable(context(), saved_variable, &var));
    }
    
    // Assigning and reading values should yield
    // consistent results.
    TEST_P(SavedVariableLoadingTest, AssignAndReadVariableSuccesful) {
      auto& test_params = GetParam();
      DataType dtype = std::get<0>(test_params);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  7. src/internal/concurrent/hashtriemap_test.go

    				for _, s := range testData {
    					expectMissing(t, s, 0)(m.Load(s))
    				}
    			}(i)
    		}
    		wg.Wait()
    	})
    }
    
    func testAll[K, V comparable](t *testing.T, m *HashTrieMap[K, V], testData map[K]V, yield func(K, V) bool) {
    	for k, v := range testData {
    		expectStored(t, k, v)(m.LoadOrStore(k, v))
    	}
    	visited := make(map[K]int)
    	m.All()(func(key K, got V) bool {
    		want, ok := testData[key]
    		if !ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/typeparams/coretype.go

    //
    // In this example, the structural type restriction of P is ~string|int: A|B
    // expands to ~string|~[]byte|int|string, which reduces to ~string|~[]byte|int,
    // which when intersected with C (~string|~int) yields ~string|int.
    //
    // NormalTerms computes these expansions and reductions, producing a
    // "normalized" form of the embeddings. A structural restriction is normalized
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. platforms/enterprise/enterprise-operations/src/main/java/org/gradle/api/internal/tasks/execution/ExecuteTaskBuildOperationType.java

     *
     * That is, this operation does not represent just the execution of task actions.
     *
     * This operation can fail _and_ yield a result.
     * If the operation gets as far as invoking the task executer
     * (i.e. beforeTask callbacks did not fail), then a result is expected.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:13:49 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

          // each region and the use of TensorList returned using YieldOp.
          if (auto while_region = llvm::dyn_cast<WhileRegionOp>(use.getOwner())) {
            DCOMMENT("\tTL WhileRegion");
            for (auto branch : while_region.getRegions())
              add_to_worklist(branch->getArgument(use.getOperandNumber()));
            continue;
          }
          if (auto yield = llvm::dyn_cast<YieldOp>(use.getOwner())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top