Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 405 for nFront (0.19 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

              const int operand_number = use.getOperandNumber();
              next_values_to_visit.push_back(
                  while_op.getCond().front().getArgument(operand_number));
              next_values_to_visit.push_back(
                  while_op.getBody().front().getArgument(operand_number));
              continue;
            }
    
            if (llvm::isa<mlir::TF::IdentityOp, mlir::TF::CastOp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  2. docs/fr/docs/advanced/additional-status-codes.md

    ## Documents OpenAPI et API
    
    Si vous renvoyez directement des codes HTTP et des réponses supplémentaires, ils ne seront pas inclus dans le schéma OpenAPI (la documentation de l'API), car FastAPI n'a aucun moyen de savoir à l'avance ce que vous allez renvoyer.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc

      int num_control_inputs_added = 0;
    
      // We call `VerifyExportSuitable` in the beginning of the pass, so every
      // function has a single graph op.
      auto graph = cast<GraphOp>(func.front().front());
      for (Operation& op_ref : graph.GetBody()) {
        Operation* op = &op_ref;
        // We only represent control dependencies between island and fetch ops.
        if (!isa<IslandOp, FetchOp>(op)) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 07:53:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/hoist_replicate_invariant_resource_writes.cc

        llvm::ArrayRef<TF::AssignVariableOp> tail_assign_variable_ops) {
      const auto num_replicas = replicate_op.getN();
      auto return_op = llvm::dyn_cast<tf_device::ReturnOp>(
          replicate_op.getRegion().front().getTerminator());
    
      // Get the new result types.
      // TODO(prakalps): Do not add a value to returned values if it is already
      // returned.
      auto new_result_types = llvm::to_vector<4>(replicate_op->getResultTypes());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils_test.cc

    TEST_F(TpuMetadataUtilsTest, SingleDevice) {
      TF_ASSERT_OK_AND_ASSIGN(auto cluster_func_ops,
                              GetClusterFuncOps("basic_cluster.mlir"));
      mlir::tf_device::ClusterFuncOp cluster_func_op = cluster_func_ops.front();
    
      tensorflow::tpu::TPUCompileMetadataProto compile_metadata;
    
      ASSERT_TRUE(mlir::succeeded(SetMetadataProtoFromClusterFuncOp(
          cluster_func_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 12 04:22:33 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/remove_unused_while_results.cc

    bool TryPruneResultDefiningOp(TF::WhileRegionOp while_op, OpResult result) {
      // Don't prune if result is used.
      if (!result.use_empty()) return false;
    
      Block& body_block = while_op.getBody().front();
      Block& cond_block = while_op.getCond().front();
      Operation* body_yield_op = body_block.getTerminator();
    
      // The body yield operand, body block argument, condition block argument, and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 16 01:49:07 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

        if (entry.second.size() > 1) {
          unformat_replicate_operands.emplace_back(entry.second,
                                                   entry.second.front().getType());
        } else {
          unformat_packed_operands.emplace_back(entry.second.front());
        }
      }
      llvm::SmallVector<Value, 4> state_var_vals(state_vars.size());
      for (const auto& entry : llvm::enumerate(state_vars)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. src/cmd/go/internal/modload/import_test.go

    	oldRootMode := RootMode
    	defer func() {
    		allowMissingModuleImports = oldAllowMissingModuleImports
    		RootMode = oldRootMode
    	}()
    	allowMissingModuleImports = true
    	RootMode = NoRoot
    
    	ctx := context.Background()
    	rs := LoadModFile(ctx)
    
    	for _, tt := range importTests {
    		t.Run(strings.ReplaceAll(tt.path, "/", "_"), func(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 20 15:29:06 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

        new_shape.push_back(shape.getNumElements());
        value = builder.create<TF::ReshapeOp>(
            loc, value, Create1DConstValue(builder, loc, new_shape));
      }
      return ConstantFoldOpIfPossible(value.getDefiningOp()).front();
    }
    
    // Matches convolution op with "NHWC" data format or matmul op with false adj_y.
    // The list of supported ops in this function is:
    // - Conv2DOp
    // - Conv3DOp
    // - DepthwiseConv2dNativeOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h

        if (reduce_op.getDimensions().getNumElements() != 1) return failure();
    
        // Check that the operand init is the expected value.
        DenseElementsAttr operand_init;
        if (!matchPattern(reduce_op.getInitValues().front(),
                          m_Constant(&operand_init)))
          return failure();
        if (!IsValueInitValue(operand_init)) return failure();
    
        // Check that the iota init is zero.
        DenseElementsAttr iota_init;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top