Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 234 for eraseOp (0.21 sec)

  1. src/cmd/compile/internal/ssa/memcombine.go

    			if v == root {
    				v.Aux = cv.Type // widen store type
    				v.Pos = pos
    				v.SetArg(0, ptr)
    				v.SetArg(1, cv)
    				v.SetArg(2, mem)
    			} else {
    				clobber(v)
    				v.Type = types.Types[types.TBOOL] // erase memory type
    			}
    		}
    		return true
    	}
    
    	// Check for consecutive loads as the source of the stores.
    	var loadMem *Value
    	var loadBase BaseAddress
    	var loadIdx int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      CreateXlaCallModuleOp(inputs, outputs, result_types, reverse_subgraph,
                            stablehlo_func_op, module_op);
    
      // 3) Erase the replaced ops.
      for (Operation* subgraph_op : reverse_subgraph) {
        subgraph_op->erase();
      }
    }
    
    // Contains the actual logic for updating states and replacing StableHLO ops
    // with tf.XlaCallModuleOps.
    void UpdateStatesAndReplaceStablehloOps(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

        if (argnum_num_users[arg_num] != conv2d_and_block_sizes.size() ||
            conv2d_and_block_sizes.empty()) {
          argnum_and_convolutions.erase(arg_num);
          continue;
        }
        int64_t block_size = conv2d_and_block_sizes[0].second;
        if (block_size < 2) {
          argnum_and_convolutions.erase(arg_num);
          continue;
        }
        // Continue if not all the block sizes for space to depth transform are the
        // same.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      // Erase original while op and temporary functions. Note, we use the non_tpu
      // function in the output graph.
      symbol_table.lookup(orig_callers.forward.getF())->erase();
      symbol_table.lookup(orig_callers.core_tpu.getF())->erase();
      symbol_table.lookup(orig_callers.backward.getF())->erase();
      orig_while_op.body_function().erase();
      orig_while_op.erase();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc

        GraphOp graph = fetch->getParentOfType<GraphOp>();
        int num_control_fetches = fetch.getNumOperands() - graph.getNumResults();
        if (num_control_fetches > 0) {
          fetch.getFetchesMutable().erase(graph.getNumResults(),
                                          num_control_fetches);
          num_control_inputs_removed += num_control_fetches;
        }
      }
    }
    
    void SetControlInputs(
        Operation* op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 07:53:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/regalloc.go

    		}
    	}
    	if e.s.f.pass.debug > regDebug {
    		fmt.Printf("%s\n", c.LongString())
    		fmt.Printf("v%d now available in %s:%s\n", vid, loc, c)
    	}
    }
    
    // erase removes any user of loc.
    func (e *edgeState) erase(loc Location) {
    	cr := e.contents[loc]
    	if cr.c == nil {
    		return
    	}
    	vid := cr.vid
    
    	if cr.final {
    		// Add a destination to move this value back into place.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  7. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/JavaPlatformResolveIntegrationTest.groovy

            moduleA.moduleMetadata.expectGet()
            moduleA.artifact.expectGet()
    
            then:
            succeeds ":compileJava"
        }
    
        def 'constraint from platform does not erase excludes (platform: #platform)'() {
            given:
            platformModule("""
            constraints {
                api 'org:foo:1.0'
            }
    """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc

        auto new_host_launch_op = CreateNewHostLaunchOpWithNewResult(
            &old_launch_op, new_launch_op_results);
        UpdateReturnOpResultWithLaunchOpResult(&new_host_launch_op);
    
        old_launch_op->erase();
    
        tf_device::LaunchOp new_device_launch_op;
        if (failed(CreateNewDeviceLaunchOp(op, replicated, new_device_launch_op)))
          return signalPassFailure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc

            replicate_op.GetReplicaOperandForBlockArgument(block_arg,
                                                           /*replica=*/0));
        shape_op.replaceAllUsesWith(new_shape_op.getOperation());
        shape_op.erase();
      }
    }
    
    // Checks if op and inner op operands are all replicate invariant.
    bool IsOpReplicateInvariant(Region* replicate_region, Operation* op) {
      auto ancestor_of_replicate = [&](Region* region) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      // Those ops should be removed.
      for (auto* op : subgraph.partition_ops_) {
        if (IsConstantOrNone(op)) {
          continue;
        }
        op->dropAllDefinedValueUses();
        op->dropAllReferences();
        op->erase();
      }
      // Ensure that users of the call op's results appear after the launch op in
      // order to preserve the dominance property.
      TF::ReorderOpResultUses(call_op);
    }
    
    }  // namespace common
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top