Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 168 for getIPs (0.94 sec)

  1. tensorflow/compiler/mlir/lite/transforms/legalize_tf_while.cc

      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeWhilePass)
      void RunOnFunction(func::FuncOp func);
    
      void runOnOperation() override {
        for (auto op : getOperation().getOps<func::FuncOp>()) RunOnFunction(op);
      }
    };
    
    }  // namespace
    
    // Inserts call to the given function into the 'region'.
    void CreateRegionWithCall(func::FuncOp func, Region& region, Location loc) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  2. pilot/pkg/serviceregistry/kube/controller/network_test.go

    		defer gwMu.Unlock()
    		gws = v
    	}
    	getGws := func() []model.NetworkGateway {
    		gwMu.Lock()
    		defer gwMu.Unlock()
    		return gws
    	}
    
    	c.AppendNetworkGatewayHandler(func() {
    		setGws(c.NetworkGateways())
    		notifyCh <- struct{}{}
    	})
    	expectGateways := func(t *testing.T, expectedGws int) {
    		// wait for a notification
    		assert.ChannelHasItem(t, notifyCh)
    		if n := len(getGws()); n != expectedGws {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 19:09:43 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

      for (Region* region : regions_with_token) {
        // Initialize the token with the special argument token. This gets mapped to
        // input token in the parent op or a new token for the entry computation.
        auto token = StringAttr::get(ctx, tensorflow::kXlaTokenArgNodeName);
        for (Operation& op : region->getOps()) {
          // Only communication related ops that needs to have token should have the
          // extra attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. platforms/ide/ide-plugins/src/main/java/org/gradle/plugins/ide/idea/model/IdeaProject.java

         * <p>
         * Values are the same as used in IDEA's “Version Control” preference window (e.g. 'Git', 'Subversion').
         * <p>
         * See the examples in the docs for {@link IdeaProject}.
         */
        public String getVcs() {
            return vcs;
        }
    
        public void setVcs(String vcs) {
            this.vcs = vcs;
        }
    
        /**
         * The wildcard resource patterns.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 12 14:00:13 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

                .append("duplicate exported name '", exported_name, "'")
                .attachNote(p.first->getSecond()->getLoc())
                .append("previously seen here");
          }
        }
      }
      for (auto func : module.getOps<func::FuncOp>()) {
        const bool is_exported = IsExported(func);
    
        if (is_exported && !func.isPublic()) {
          return func.emitError()
                 << "exported function @" << func.getName() << " should be public";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

    // assigns it to `result`, if present. If there are multiple such ops, returns
    // failure.
    template <typename OpT>
    LogicalResult GetOp(Region* region, OpT* result) {
      *result = {};
      for (auto op : region->getOps<OpT>()) {
        if (*result) return op.emitError("should be unique within a function");
        *result = op;
      }
      return success();
    }
    
    LogicalResult RunOnRegion(Region* region) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_reorder_replicate_and_partitioned_inputs.cc

          }))
        return replicated_input.emitOpError()
               << "expects all inputs from 'tf.TPUPartitionedInputV2' ops";
    
      const auto metadata_iter =
          replicated_input->getBlock()->getOps<TF::TPUReplicateMetadataOp>();
      TF::TPUReplicateMetadataOp metadata;
      if (!metadata_iter.empty()) metadata = *(metadata_iter.begin());
    
      auto first_partitioned_input = llvm::cast<TF::TPUPartitionedInputV2Op>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 24 23:08:55 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/cc/convert_asset_args_test.cc

        EXPECT_TRUE(module_op_ref);
        return module_op_ref;
      }
    
      mlir::MLIRContext ctx_{};
    };
    
    func::FuncOp GetMainFuncOp(ModuleOp module_op) {
      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        if (func_op.getSymName() == "main") {
          return func_op;
        }
      }
      return {};
    }
    
    TEST_F(ConvertAssetArgsTest, ConvertsSingleAssetArg) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

            op.getLoc(), /*resultType0=*/
            mlir::cast<TensorType>(op.getResult().getType())
                .clone(output_uniform_quantized_type),
            /*lhs=*/op.getLhs(), /*rhs=*/op.getRhs(),
            /*dot_dimension_numbers=*/op.getDotDimensionNumbers(),
            /*precision_config=*/op.getPrecisionConfigAttr());
    
        rewriter.replaceAllUsesWith(op.getResult(), new_dot_general_op.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  10. tools/bug-report/pkg/content/content.go

    		cmdStr += " -o yaml"
    	}
    	out, err := p.Runner.RunCmd(cmdStr, "", p.KubeConfig, p.KubeContext, p.DryRun)
    	return map[string]string{
    		"secrets": out,
    	}, err
    }
    
    // GetCRs returns CR contents for all CRDs in the cluster.
    func GetCRs(p *Params) (map[string]string, error) {
    	crds, err := getCRDList(p)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top