Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 25 for fetch_op (0.59 sec)

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

      // Create Fetch.
      ValueRange to_fetch = island.getResults();
      if (to_fetch.size() != 1) {
        // Drop control result for fetch.
        to_fetch = to_fetch.drop_back();
      }
      builder.create<tf_executor::FetchOp>(loc, to_fetch);
      // Build Island.
      island.getBody().push_back(new Block);
      island.getBody().front().getOperations().splice(
          island.getBody().front().begin(), body.getOperations(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 20:52:36 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/parallel_execute_to_islands.cc

          tf_executor::FetchOp fetch = graph_op.GetFetch();
          auto fetches = llvm::to_vector<8>(fetch.getOperands());
          fetches.append(unused_execute_controls.begin(),
                         unused_execute_controls.end());
          builder.setInsertionPoint(fetch);
          builder.create<tf_executor::FetchOp>(fetch.getLoc(), fetches);
          fetch.erase();
        }
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 19 19:47:16 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

        if (!unused_replica_controls.empty()) {
          tf_executor::FetchOp fetch = graph_op.GetFetch();
          auto fetches = llvm::to_vector<8>(fetch.getOperands());
          fetches.append(unused_replica_controls.begin(),
                         unused_replica_controls.end());
          builder.setInsertionPoint(fetch);
          builder.create<tf_executor::FetchOp>(fetch.getLoc(), fetches);
          fetch.erase();
        }
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                                    executor_graph.getBody().end());
    
        // Add terminator of tf_executor::graph
        rewriter.setInsertionPointToEnd(&executor_graph.getBody().front());
        rewriter.create<tf_executor::FetchOp>(loc);
    
        // Add terminator of func
        rewriter.setInsertionPointToEnd(&func.getBody().front());
        rewriter.create<func::ReturnOp>(loc);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

        if (!MayHaveSideEffect(op)) return;
        // Skip following ops to avoid that every island, graph and function is
        // classified as unknown side-effecting.
        if (isa<tf_executor::YieldOp, tf_executor::FetchOp,
                mlir::func::ReturnOp>(op))
          return;
    
        // Propagate side effects from regions or functions attached to `op` for
        // some special cases.
        if (auto func = llvm::dyn_cast<func::FuncOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. pkg/wasm/cache_test.go

    	}
    	manifest.MediaType = types.DockerManifestSchema2
    
    	// Push image to the registry.
    	err = crane.Push(img, ref, fetchOpt)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Push image to the registry with latest tag as well
    	ref = fmt.Sprintf("%s/test/valid/docker:latest", host)
    	err = crane.Push(img, ref, fetchOpt)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	// Calculate sum
    	d, _ := img.Digest()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc

            updated_next_iteration = true;
          }
        }
      } while (updated_next_iteration);
    }
    
    // Propagates devices to function results.
    void PropagateDevicesToResults(
        func::FuncOp func, tf_executor::FetchOp fetch,
        const llvm::DenseMap<Value, llvm::StringRef>& value_to_device) {
      // We apply all result attributes at once to avoid excessive allocations when
      // we have many result values.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

        Op<TfExecutor_Dialect, mnemonic, traits> {
    
      let hasVerifier = 1;
      let hasCustomAssemblyFormat = 1;
    }
    
    def TfExecutor_GraphOp : TfExecutor_Op<"graph",
        [SingleBlockImplicitTerminator<"FetchOp">]> {
      let summary = [{The `tf_executor.graph` operation contains a region with a
        single block that lists the operations in a TensorFlow graph.}];
    
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

      return control_island.getOutputs().empty() &&
             isa<TF::NoOp>(control_island.GetBody().front());
    }
    
    // Remove all control outputs of the function. Traverses NoOp control barrier
    // chains from FetchOp to all NoOp control barriers. Returns true
    // iff at least one control output is deleted. The ops_connected_to_fetch
    // set is populated with all operations that had a direct (or indirect, through
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tape.h

      // vector `tangent` of matching shape and dtype. Tangents are the "vector" in
      // "Jacobian-vector product"; `Watch`ing a new Tensor and immediately calling
      // FetchJVP for it would return `tangent`.
      void Watch(int64_t tensor_id, Gradient* tangent);
    
      // Removes the gradient associated with tensor_id. Should be called when the
      // Tensor associated with `tensor_id` is deleted.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 12:40:29 UTC 2024
    - 47.2K bytes
    - Viewed (0)
Back to top