Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Assert1 (0.14 sec)

  1. tensorflow/compiler/mlir/lite/tests/fuse-tftext.mlir

      %3 = "tf.Const"() {value = dense<"y (WhitespaceTokenize/RaggedConcat/RaggedNRows/Const:0) = "> : tensor<!tf_type.string>} : () -> tensor<!tf_type.string>
      "tf.Assert"(%arg0, %0, %1, %2, %arg1, %3, %arg2) {device = "", summarize = 3 : i64} : (tensor<i1>, tensor<!tf_type.string>, tensor<!tf_type.string>, tensor<!tf_type.string>, tensor<i64>, tensor<!tf_type.string>, tensor<i64>) -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  2. pkg/proxy/iptables/proxier_test.go

    	assert.Equal(t, "", svc4Endpoint, "svc4 endpoint was still created!")
    	if numEndpoints != 0 {
    		t.Errorf("Found wrong number of endpoints after delayed resync: expected %d, got %d", 0, numEndpoints)
    	}
    	assert.Contains(t, fp.iptablesData.String(), "-X KUBE-SVC-EBDQOQU5SJFXRIL3", "iptables data does not contain chain deletion")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (1)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      if (auto elementAttr = mlir::dyn_cast_or_null<ElementsAttr>(attr)) {
        SmallVector<uint64_t, 1> index(elementAttr.getShapedType().getRank(), 0);
        intAttr = elementAttr.getValues<IntegerAttr>()[index];
      }
    
      assert(intAttr && "Invalid attribute passed to GetHLOAxisFromTFAxis");
    
      int64_t axis = intAttr.getInt();
      if (axis < 0) {
        axis += rank;
      }
      return b->getI64IntegerAttr(axis);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    }
    
    //===----------------------------------------------------------------------===//
    // tf.Assert legalization
    //===----------------------------------------------------------------------===//
    
    // -----
    
    // CHECK-LABEL: @assert
    func.func @assert(%arg0: tensor<i1>, %arg1: tensor<*xf32>) {
      // CHECK-NOT: tf.Assert
      "tf.Assert"(%arg0, %arg1) {summarize = 1} : (tensor<i1>, tensor<*xf32>) -> ()
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  5. ChangeLog.md

    - [`KT-58697`](https://youtrack.jetbrains.com/issue/KT-58697) K2: Tests: Assert no dump files exist when dump directive isn't present
    - [`KT-63258`](https://youtrack.jetbrains.com/issue/KT-63258) NPE with function reference from within lambda during init
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  6. doc/go_spec.html

    </p>
    
    <pre>
    x.(T)
    </pre>
    
    <p>
    asserts that <code>x</code> is not <code>nil</code>
    and that the value stored in <code>x</code> is of type <code>T</code>.
    The notation <code>x.(T)</code> is called a <i>type assertion</i>.
    </p>
    <p>
    More precisely, if <code>T</code> is not an interface type, <code>x.(T)</code> asserts
    that the dynamic type of <code>x</code> is <a href="#Type_identity">identical</a>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 21:07:21 UTC 2024
    - 281.5K bytes
    - Viewed (1)
  7. pkg/registry/core/service/storage/storage_test.go

    						return
    					}
    					proveClusterIPsAllocated(t, storage, nil, createdSvc)
    				})
    			}
    		})
    	}
    }
    
    // There are enough corner-cases that it's useful to have a test that asserts
    // the errors.  Some of these are in other tests, but this is clearer.
    func TestCreateInvalidClusterIPInputs(t *testing.T) {
    	testCases := []struct {
    		name     string
    		families []api.IPFamily
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 440.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssagen/ssa.go

    		b.AddEdgeTo(to)
    
    	case ir.OFOR:
    		// OFOR: for Ninit; Left; Right { Nbody }
    		// cond (Left); body (Nbody); incr (Right)
    		n := n.(*ir.ForStmt)
    		base.Assert(!n.DistinctVars) // Should all be rewritten before escape analysis
    		bCond := s.f.NewBlock(ssa.BlockPlain)
    		bBody := s.f.NewBlock(ssa.BlockPlain)
    		bIncr := s.f.NewBlock(ssa.BlockPlain)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  9. src/net/http/h2_bundle.go

    		StreamID: binary.BigEndian.Uint32(buf[5:]) & (1<<31 - 1),
    		valid:    true,
    	}, nil
    }
    
    // A Frame is the base interface implemented by all frame types.
    // Callers will generally type-assert the specific frame type:
    // *HeadersFrame, *SettingsFrame, *WindowUpdateFrame, etc.
    //
    // Frames are only valid until the next call to Framer.ReadFrame.
    type http2Frame interface {
    	Header() http2FrameHeader
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * Fix mypy error after merging PR #415. PR [#462](https://github.com/tiangolo/fastapi/pull/462).
    
    ## 0.35.0
    
    * Fix typo in routing `assert`. PR [#419](https://github.com/tiangolo/fastapi/pull/419) by [@pablogamboa](https://github.com/pablogamboa).
    * Fix typo in docs. PR [#411](https://github.com/tiangolo/fastapi/pull/411) by [@bronsen](https://github.com/bronsen).
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
Back to top