Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 221 for getn (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // types are static.
        SmallVector<DenseIntElementsAttr, 4> indices;
        indices.reserve(op.getN());
        for (auto it : llvm::zip(op.getIndices(), op.getData())) {
          Value index = std::get<0>(it);
          Value data = std::get<1>(it);
    
          DenseIntElementsAttr index_attr;
          if (!matchPattern(index, m_Constant(&index_attr))) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      if (!HasRankAtLeast(op.getX(), 2)) {
        return op.emitOpError("requires lhs operand to have rank at least two");
      }
      if (!HasRankAtLeast(op.getY(), 2)) {
        return op.emitOpError("requires rhs operand to have rank at least two");
      }
    
      RankedTensorType x_ty = GetRankedTensorTypeForOperand(op.getX());
      RankedTensorType y_ty = GetRankedTensorTypeForOperand(op.getY());
    
      if (!x_ty || !y_ty) return success();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

        // `stablehlo.recv`.
        effects.emplace_back(MemoryEffects::Write::get(),
                             ResourceEffects::Send::get());
        effects.emplace_back(MemoryEffects::Write::get(),
                             ResourceEffects::Recv::get());
        effects.emplace_back(MemoryEffects::Write::get(),
                             ResourceEffects::XlaHostCompute::get());
      }
    }
    
    LogicalResult XlaCallModuleOp::verifySymbolUses(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

            op->getLoc(),
            RankedTensorType::get(permuted_shape, input_type.getElementType()),
            input, permutation_tensor_op.getResult());
      };
    
      if (!can_convert_to_fully_connected(op)) {
        return false;
      }
    
      Value input_lhs = get_real_input_value(op.getX());
      Value input_rhs = get_real_input_value(op.getY());
    
      Value legalized_lhs =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/CyclicalManagedTypeIntegrationTest.groovy

                interface A {
                    String getName()
                    void setName(String name)
    
                    B getB()
                }
    
                @Managed
                interface B {
                    C getC()
                }
    
                @Managed
                interface C {
                    A getA()
                    void setA(A a)
                }
    
                class RulePlugin extends RuleSource {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

        @Managed
        interface A1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
        interface B1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
        interface C1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  7. src/time/zoneinfo_read.go

    		//	38	eattr[4]
    		//	42	off[4]
    		//	46	name[namelen]
    		//	46+namelen+xlen+fclen - next header
    		//
    		if get4(buf) != zcheader {
    			break
    		}
    		meth := get2(buf[10:])
    		size := get4(buf[24:])
    		namelen := get2(buf[28:])
    		xlen := get2(buf[30:])
    		fclen := get2(buf[32:])
    		off := get4(buf[42:])
    		zname := buf[46 : 46+namelen]
    		buf = buf[46+namelen+xlen+fclen:]
    		if string(zname) != name {
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. src/runtime/mwbbuf.go

    func (b *wbBuf) empty() bool {
    	return b.next == uintptr(unsafe.Pointer(&b.buf[0]))
    }
    
    // getX returns space in the write barrier buffer to store X pointers.
    // getX will flush the buffer if necessary. Callers should use this as:
    //
    //	buf := &getg().m.p.ptr().wbBuf
    //	p := buf.get2()
    //	p[0], p[1] = old, new
    //	... actual memory write ...
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            "getCppCompiler" | "isCppCompiler" | "setCppCompiler" | "cppCompiler"
            "getCPPCompiler" | "isCPPCompiler" | "setCPPCompiler" | "CPPCompiler"
            "getA"           | "isA"           | "setA"           | "a"
            "getb"           | "isb"           | "setb"           | "b"
        }
    
        static class Bean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. tests/test_ambiguous_params.py

                " default value with `=` instead."
            ),
        ):
    
            @app.get("/")
            async def get(item_id: Annotated[int, Query(default=1)]):
                pass  # pragma: nocover
    
    
    def test_multiple_annotations():
        async def dep():
            pass  # pragma: nocover
    
        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top