Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 126 for setFoo (3.35 sec)

  1. tensorflow/compiler/jit/tests/device_compiler_test_helper.cc

        absl::Span<const std::string> inputs,
        absl::Span<
            const std::pair<std::string, FunctionDefHelper::AttrValueWrapper>>
            attrs) {
      NodeDef node;
      node.set_name(std::string(name));
      node.set_op(std::string(op));
      for (const auto& input : inputs) node.add_input(input);
      for (const auto& attr : attrs)
        node.mutable_attr()->insert({attr.first, attr.second.proto});
      return node;
    }
    
    }  // namespace
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 08:24:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/typecheck.go

    				}
    				if len(nl)-i > 1 {
    					goto toomany
    				}
    				n = nl[i]
    				ir.SetPos(n)
    				if n.Type() != nil {
    					nl[i] = assignconvfn(n, t, desc)
    				}
    				return
    			}
    
    			// TODO(mdempsky): Make into ... call with implicit slice.
    			for ; i < len(nl); i++ {
    				n = nl[i]
    				ir.SetPos(n)
    				if n.Type() != nil {
    					nl[i] = assignconvfn(n, t.Elem(), desc)
    				}
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

      // may cause spurious cache misses.
      TF_ASSIGN_OR_RETURN(uint64 fingerprint, FingerprintGraph(*graph));
      VLOG(1) << "Subgraph fingerprint:" << fingerprint;
      call_def->set_op(absl::StrCat(call_def->op(), "_", fingerprint));
      return absl::OkStatus();
    }
    
    }  // namespace
    
    /*static*/ Status EncapsulateXlaComputationsPass::Encapsulate(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

         * is only used to select between URLs on your site.
         */
        private String priority;
    
        @Override
        public String getLoc() {
            return loc;
        }
    
        public void setLoc(final String loc) {
            this.loc = loc;
        }
    
        @Override
        public String getLastmod() {
            return lastmod;
        }
    
        public void setLastmod(final String lastmod) {
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/internal/buildcfg/exp.go

    		names := make(map[string]func(bool))
    		rv := reflect.ValueOf(&flags.Flags).Elem()
    		rt := rv.Type()
    		for i := 0; i < rt.NumField(); i++ {
    			field := rv.Field(i)
    			names[strings.ToLower(rt.Field(i).Name)] = field.SetBool
    		}
    
    		// "regabi" is an alias for all working regabi
    		// subexperiments, and not an experiment itself. Doing
    		// this as an alias make both "regabi" and "noregabi"
    		// do the right thing.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:38:52 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

      assert(
          (llvm::isa<TFL::ConstOp, TFL::QConstOp, arith::ConstantOp>(const_op)) &&
          "Expect QConst or Const op.");
      OpBuilder builder(func.getBody());
      auto cloned_const_op = const_op->clone();
      cloned_const_op->setLoc(func.getBody().getLoc());
      builder.insert(cloned_const_op);
      // Rewire the usage.
      func.getArgument(argument_index)
          .replaceAllUsesWith(cloned_const_op->getResult(0));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. schema/field.go

    			case **bool:
    				if data != nil && *data != nil {
    					field.ReflectValueOf(ctx, value).SetBool(**data)
    				}
    			case bool:
    				field.ReflectValueOf(ctx, value).SetBool(data)
    			case int64:
    				field.ReflectValueOf(ctx, value).SetBool(data > 0)
    			case string:
    				b, _ := strconv.ParseBool(data)
    				field.ReflectValueOf(ctx, value).SetBool(b)
    			default:
    				return fallbackSetter(ctx, value, v, field.Set)
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 32K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

              op->getParentOfType<func::FuncOp>().getSymNameAttr().str();
          quantization_unit->set_func_name(func_name);
        }
        QuantizationUnitLoc unit_loc(getContext(), quantization_unit.value());
        op->setLoc(unit_loc);
    
        return success();
      }
    };
    
    void AddQuantizationUnitLocPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      RewritePatternSet patterns(ctx);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/summary_op_test.cc

    }
    
    void TestScalarSummaryOp(Tensor* tags, Tensor* values, string expected_output,
                             error::Code expected_code) {
      // Initialize node used to fetch OpKernel
      Status status;
      NodeDef def;
      def.set_op("ScalarSummary");
    
      def.set_device(DEVICE_CPU);
    
      AttrValue valuesTypeAttr;
      SetAttrValue(values->dtype(), &valuesTypeAttr);
      (*def.mutable_attr())["T"] = valuesTypeAttr;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  10. test/codegen/noextend.go

    	val16[0] = uint16(sval16[*u8>>2])
    
    	// ppc64x:-"MOVH\tR\\d+,\\sR\\d+"
    	sval16[1] = int16(val16[*x16>>1])
    
    	// ppc64x:-"MOVHZ\tR\\d+,\\sR\\d+"
    	val16[1] = uint16(sval16[*u16>>2])
    
    }
    
    func setnox(x8 int8, u8 *uint8, y8 *int8, z8 *uint8, x16 *int16, u16 *uint16, x32 *int32, u32 *uint32) {
    
    	// ppc64x:-"MOVBZ\tR\\d+,\\sR\\d+"
    	val16[0] = uint16(*u8)
    
    	// AND not needed due to size
    	// ppc64x:-"ANDCC"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 5.4K bytes
    - Viewed (0)
Back to top