Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 242 for getn (0.04 sec)

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

                                      op)))
            return failure();
    
          OpBuilder builder(op);
          auto const_op = builder.create<TF::ConstOp>(
              op->getLoc(), DenseIntElementsAttr::get(
                                RankedTensorType::get({}, builder.getI64Type()),
                                {device_ordinal}));
          op->replaceAllUsesWith(const_op);
          op->erase();
          return WalkResult::advance();
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

          ModuleOp::create(mlir::UnknownLoc::get(entry_func.getContext()),
                           absl::StrCat("module_", module_name));
      auto parent_module = entry_func->getParentOfType<ModuleOp>();
      auto versions_attr = parent_module->getAttr(kVersionsAttr);
      if (!versions_attr)
        return parent_module.emitError(CreateMissingAttributeMsg(kVersionsAttr));
    
      module_for_func.get().getOperation()->setAttr(kVersionsAttr, versions_attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top