Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for branch1 (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func private @branch0(tensor<2xf32>) -> (tensor<2xf32>, tensor<2xf32>)
    func.func private @branch1(tensor<2xf32>) -> tensor<2xf32>
    
    func.func @testCaseMismatchedNumResults(%arg0: tensor<i32>, %arg1: tensor<2xf32>) -> tensor<2xf32> {
      // expected-error @+1 {{'tf.Case' op branch #0 results (size = 2) should have the same number of values as results (size = 1)}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/s390x/asmz.go

    	op_BCR     uint32 = 0x0700 // FORMAT_RR         BRANCH ON CONDITION
    	op_BCT     uint32 = 0x4600 // FORMAT_RX1        BRANCH ON COUNT (32)
    	op_BCTG    uint32 = 0xE346 // FORMAT_RXY1       BRANCH ON COUNT (64)
    	op_BCTGR   uint32 = 0xB946 // FORMAT_RRE        BRANCH ON COUNT (64)
    	op_BCTR    uint32 = 0x0600 // FORMAT_RR         BRANCH ON COUNT (32)
    	op_BPP     uint32 = 0xC700 // FORMAT_SMI        BRANCH PREDICTION PRELOAD
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

      // `send_pred_node` has been generated.
      g->AddControlEdge(send_pred_node, n);
    
      // Build host side graph for the "If" node.
      // If then/else branch does not have outside compilation, we won't build host
      // graph for the branch. But here we need a host graph for both branches, so
      // we need to create a no-op host graph.
      if (!then_branch_has_outside_compilation) {
        std::unique_ptr<Graph> then_branch_host_graph(new Graph(fld));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      for (const auto& branch : llvm::enumerate(branches)) {
        auto branch_func = symbol_table.lookupNearestSymbolFrom<func::FuncOp>(
            op, mlir::cast<SymbolRefAttr>(branch.value()));
        if (!branch_func)
          return op->emitOpError()
                 << "expects " << branch_name(branch.index()) << " ("
                 << branch.value() << ") to point to a defined function";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/ppc64/asm9.go

    					invertible := false
    
    					if bo&0x14 == 0x14 {
    						// A conditional branch that is unconditionally taken. This cannot be inverted.
    					} else if bo&0x10 == 0x10 {
    						// A branch based on the value of CTR. Invert the CTR comparison against zero bit.
    						bo ^= 0x2
    						invertible = true
    					} else if bo&0x04 == 0x04 {
    						// A branch based on CR bit. Invert the BI comparison bit.
    						bo ^= 0x8
    						invertible = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

          regions.push_back(RegionSuccessor());  // branch back to parent, no args
        }
      } else if (!point.isParent() && point == (*this)->getRegion(1)) {
        // 'body' branches back to 'cond'.
        regions.push_back(
            RegionSuccessor(&getCond(), getCond().front().getArguments()));
      } else if (point.isParent()) {
        // The parent branches to 'cond'. It is also considered to branch to `body`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        // CHECK: %[[CASE:.*]] = "tf.Case"(%[[ARG_0]], %[[ARG_1]])
        %0 = "tf.Case"(%arg0, %arg1) {branches = [@branch_0, @branch_1], is_stateless = false} : (tensor<i32>, tensor<!tf_type.resource<tensor<1x2x3xf32>>>) -> tensor<1x2x3xf32>
        // CHECK:           return %[[CASE]] : tensor<1x2x3xf32>
        func.return %0 : tensor<1x2x3xf32>
      }
      // CHECK-LABEL: func @branch_0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

            max_iterations);
      } else if (auto case_op = dyn_cast<TF::CaseOp>(op)) {
        SmallVector<func::FuncOp, 4> branches;
        case_op.get_branch_functions(branches);
        return PropagateShapeToFunctions(module, case_op.getInput().getTypes(),
                                         branches, max_iterations);
      } else if (auto while_op = dyn_cast<TF::WhileOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/arm64/asm7.go

    		}
    		v >>= uint(shift)
    		t = int64(1) << uint(flen-1)
    		if v < -t || v >= t {
    			c.ctxt.Diag("branch too far %#x vs %#x [%p]\n%v\n%v", v, t, c.blitrl, p, q)
    			panic("branch too far")
    		}
    	}
    
    	return v & ((t << 1) - 1)
    }
    
    /*
     * pc-relative branches
     */
    func (c *ctxt7) opbra(p *obj.Prog, a obj.As) uint32 {
    	switch a {
    	case ABEQ:
    		return OPBcc(0x0)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

        output_graphdef = output_loader.get_meta_graph_def_from_tags(tags).graph_def
        self.assertTrue(self._contains_quantized_function_call(output_graphdef))
    
        # Tests that the false branch contains a quantized function call whereas the
        # true branch doesn't.
        def _is_quantized_function_call_node(
            node_def: node_def_pb2.NodeDef,
        ) -> bool:
          return node_def.op == 'PartitionedCall' and node_def.attr[
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
Back to top